Added High Priority mode to win32 port
This commit is contained in:
@@ -184,8 +184,8 @@ unsigned char keyboardhit=0;
|
||||
void initwinvideo();
|
||||
extern BYTE StereoSound;
|
||||
extern DWORD SoundQuality;
|
||||
extern BYTE Surround;
|
||||
extern BYTE LargeSoundBuf;
|
||||
extern BYTE HighPriority;
|
||||
extern int CurKeyPos;
|
||||
extern int CurKeyReadPos;
|
||||
extern int KeyBuffer[16];
|
||||
@@ -458,6 +458,8 @@ int RegisterWinClass ( void )
|
||||
|
||||
if (RegisterClass(&wcl) == 0) return FALSE;
|
||||
|
||||
if (HighPriority == 1) SetPriorityClass(hInst, HIGH_PRIORITY_CLASS);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user