From 5667058369e4bba1d9dfc4cc24758b7275b02b57 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Sat, 23 Dec 2017 19:26:46 +0300 Subject: [PATCH] HTML version should run on 60 FPS only, because some video cards have 100 Hz refresh rate --- src/studio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/studio.c b/src/studio.c index 4298a4b..eb1ae10 100644 --- a/src/studio.c +++ b/src/studio.c @@ -2728,7 +2728,7 @@ s32 main(s32 argc, char **argv) } else createFileSystem(NULL, onFSInitialized); - emscripten_set_main_loop(tick, TIC_FRAMERATE == 60 ? 0 : TIC_FRAMERATE, 1); + emscripten_set_main_loop(tick, TIC_FRAMERATE, 1); #else createFileSystem(argc > 1 && fsExists(argv[1]) ? fsBasename(argv[1]) : NULL, onFSInitialized);