HTML version should run on 60 FPS only, because some video cards have 100 Hz refresh rate
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user