Reimplement driver_adjust_rates

This commit is contained in:
twinaphex 2015-01-18 19:08:07 +01:00
parent ed49c03e0a
commit e9d2d966cd
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}
/**

View File

@ -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");
}