NightDemonDemo, tDemo: refresh screen when frame rate < 30

This commit is contained in:
kichikuou
2024-11-25 17:30:15 +09:00
parent b2e14bd19a
commit 53d0e8ffef
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ static void ndd_run(int demonum) {
if (sys_keywait(wait_ms, KEYWAIT_CANCELABLE))
break;
} else {
sdl_updateScreen();
if (sys_getInputInfo())
break;
}
+1
View File
@@ -93,6 +93,7 @@ static void Run() {
if (sys_keywait(wait_ms, KEYWAIT_CANCELABLE))
break;
} else {
sdl_updateScreen();
if (sys_getInputInfo())
break;
}