Fix falling back to the old timing, also show audio timing in the frame timing overlay

This commit is contained in:
Henrik Rydgård committed 2023-08-16 15:53:24 +02:00
1 parent fb4c167d37
commit f86053d020
6 files changed
+26 -14

No files matched your search

+2
View File
@@ -150,6 +150,8 @@ void sleep_ms(int ms) {
}
void sleep_s(double s) {
if (s <= 0.0)
return;
#if defined(_WIN32) || defined(__EMSCRIPTEN__) || defined(HAVE_LIBNX)
sleep_ms((int)(s * 1000.0));
#else