Changed to plat_delay_ms() according to tneukom's latest suggestion.

This commit is contained in:
OBattler
2024-12-25 00:29:56 +01:00
parent 59baaaf5a6
commit cb957fe517
2 changed files with 8 additions and 6 deletions

View File

@@ -149,9 +149,6 @@ main_thread_fn()
if (dopause)
ack_pause();
#ifdef Q_OS_WINDOWS
timeBeginPeriod(1);
#endif
plat_delay_ms(1);
}
}
@@ -160,9 +157,6 @@ main_thread_fn()
for (uint8_t i = 1; i < GFXCARD_MAX; i ++) {
if (gfxcard[i]) {
ui_deinit_monitor(i);
#ifdef Q_OS_WINDOWS
timeBeginPeriod(1);
#endif
plat_delay_ms(500);
}
}