mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
add ability to "disable" v-sync, set FPS limit to max
This commit is contained in:
parent
b01856d166
commit
9816334ef4
@ -119,7 +119,7 @@ int main(int argc, char *argv[])
|
||||
menu_rom_history_push_current();
|
||||
#endif
|
||||
|
||||
emscripten_set_main_loop(mainloop, 0, 0);
|
||||
emscripten_set_main_loop(mainloop, g_settings.video.vsync ? 0 : INT_MAX, 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user