Added High Priority mode to win32 port

This commit is contained in:
pagefault
2001-04-23 19:28:53 +00:00
parent 7f5915e1db
commit 42a129f91e
4 changed files with 30 additions and 1 deletions

View File

@@ -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;
}