mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Fix logic bug in driver_set_nonblock_state.
This commit is contained in:
parent
7a8628ff41
commit
36ea8f9cf6
2
driver.c
2
driver.c
@ -280,7 +280,7 @@ void driver_set_nonblock_state(bool nonblock)
|
|||||||
if (g_extern.video_active)
|
if (g_extern.video_active)
|
||||||
{
|
{
|
||||||
bool video_nb = nonblock;
|
bool video_nb = nonblock;
|
||||||
if (!g_settings.video.vsync || !g_extern.system.force_nonblock)
|
if (!g_settings.video.vsync || g_extern.system.force_nonblock)
|
||||||
video_nb = true;
|
video_nb = true;
|
||||||
video_set_nonblock_state_func(video_nb);
|
video_set_nonblock_state_func(video_nb);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user