mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00: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
3
driver.c
3
driver.c
@ -208,6 +208,9 @@ static void adjust_system_rates(void)
|
|||||||
{
|
{
|
||||||
g_settings.video.vsync = false;
|
g_settings.video.vsync = false;
|
||||||
RARCH_LOG("Game FPS > Monitor FPS. Cannot rely on VSync.\n");
|
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;
|
g_settings.video.refresh_rate = info->fps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user