Amend previous commit

This commit is contained in:
ergo720 2018-07-23 12:00:06 +02:00
parent a70aab8fa6
commit 01674b22e7
1 changed files with 5 additions and 3 deletions

View File

@ -671,9 +671,11 @@ static unsigned int WINAPI CxbxKrnlInterruptThread(PVOID param)
InitSoftwareInterrupts();
#endif
while (g_bEnableAllInterrupts) {
TriggerPendingConnectedInterrupts();
Sleep(1);
while (true) {
if (g_bEnableAllInterrupts) {
TriggerPendingConnectedInterrupts();
Sleep(1);
}
}
return 0;