From e9d2d966cdee8711fde700e8474b04de6f3c4951 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 18 Jan 2015 19:08:07 +0100 Subject: [PATCH] Reimplement driver_adjust_rates --- driver.c | 2 +- gfx/video_monitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver.c b/driver.c index a5883179e3..229e8c49a9 100644 --- a/driver.c +++ b/driver.c @@ -229,8 +229,8 @@ void driver_adjust_system_rates(void) void driver_set_refresh_rate(float hz) { video_monitor_set_refresh_rate(hz); - driver_adjust_system_rates(); audio_monitor_set_refresh_rate(); + driver_adjust_system_rates(); } /** diff --git a/gfx/video_monitor.c b/gfx/video_monitor.c index 74d644131f..65f997d85b 100644 --- a/gfx/video_monitor.c +++ b/gfx/video_monitor.c @@ -40,10 +40,10 @@ void video_monitor_adjust_system_rates(void) g_settings.video.refresh_rate, (float)info->fps); - /* We won't be able to do VSync reliably when game FPS > monitor FPS. */ if (info->fps <= g_settings.video.refresh_rate) return; + /* We won't be able to do VSync reliably when game FPS > monitor FPS. */ g_extern.system.force_nonblock = true; RARCH_LOG("Game FPS > Monitor FPS. Cannot rely on VSync.\n"); }