mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(RARCH_CONSOLE) Run set_nonblock_state if an emu runs at more than
60fps/60Hz - to forcibly set vsync off
This commit is contained in:
parent
3634136a3a
commit
1af593f910
1 changed files with 3 additions and 0 deletions
3
driver.c
3
driver.c
|
@ -208,6 +208,9 @@ static void adjust_system_rates(void)
|
|||
{
|
||||
g_settings.video.vsync = false;
|
||||
RARCH_LOG("Game FPS > Monitor FPS. Cannot rely on VSync.\n");
|
||||
#ifdef RARCH_CONSOLE
|
||||
video_set_nonblock_state_func(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
g_settings.video.refresh_rate = info->fps;
|
||||
|
|
Loading…
Add table
Reference in a new issue