run ac with high-priority on windows
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2371 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -503,6 +503,10 @@ int main(int argc, char **argv)
|
||||
}
|
||||
initing = NOT_INITING;
|
||||
|
||||
#ifdef WIN32
|
||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||
#endif
|
||||
|
||||
initlog("sdl");
|
||||
int par = 0;
|
||||
#ifdef _DEBUG
|
||||
|
||||
Reference in New Issue
Block a user