Fix: Don't hog CPU in PAUSED mode

This commit is contained in:
tomch 2009-07-03 20:37:42 +00:00
parent dc260b849d
commit aab0e6f2d5

View File

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