mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-24 23:31:07 +00:00
Fix: Don't hog CPU in PAUSED mode
This commit is contained in:
parent
dc260b849d
commit
aab0e6f2d5
@ -389,7 +389,7 @@ void EnterMessageLoop ()
|
||||
{
|
||||
if (g_nAppMode == MODE_DEBUG)
|
||||
DebuggerUpdate();
|
||||
else if (g_nAppMode == MODE_LOGO)
|
||||
else if ((g_nAppMode == MODE_LOGO) || (g_nAppMode == MODE_PAUSED))
|
||||
Sleep(100); // Stop process hogging CPU
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user