This commit is contained in:
otya128 committed 2016-12-30 13:29:38 +09:00
1 parent 71196f4961
commit 80aade0e5b
1 file changed
+1 -1
+1 -1
View File
@@ -1289,7 +1289,7 @@ class PetitComputer
}
auto endmaincnt = maincnt + vsyncFrame;
oldmaincnt = maincntRender;
while (maincnt < endmaincnt && !quit)
while (maincnt < endmaincnt && !quit && running)
{
SDL_Delay(1);
if (maincntRender != oldmaincnt)