mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup
This commit is contained in:
parent
88cc0ce8bb
commit
020d7cec0a
4
driver.c
4
driver.c
@ -222,13 +222,13 @@ static void driver_adjust_system_rates(void)
|
||||
**/
|
||||
static void driver_set_nonblock_state(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool enable = input_driver_is_nonblock_state();
|
||||
|
||||
/* Only apply non-block-state for video if we're using vsync. */
|
||||
if (video_driver_is_active() && video_driver_get_ptr(false))
|
||||
{
|
||||
bool video_nonblock = enable;
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool video_nonblock = enable;
|
||||
|
||||
if ( !settings->video.vsync
|
||||
|| runloop_ctl(RUNLOOP_CTL_IS_NONBLOCK_FORCED, NULL))
|
||||
|
Loading…
x
Reference in New Issue
Block a user