mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-01 19:39:44 -06:00
fix framerate target not adjusting with vcount writes (#2181)
This commit is contained in:
@ -1942,9 +1942,9 @@ void MainWindow::onOpenInterfaceSettings()
|
||||
void MainWindow::onUpdateInterfaceSettings()
|
||||
{
|
||||
pauseOnLostFocus = globalCfg.GetBool("PauseLostFocus");
|
||||
emuInstance->targetFPS = 1.0 / globalCfg.GetDouble("TargetFPS");
|
||||
emuInstance->fastForwardFPS = 1.0 / globalCfg.GetDouble("FastForwardFPS");
|
||||
emuInstance->slowmoFPS = 1.0 / globalCfg.GetDouble("SlowmoFPS");
|
||||
emuInstance->targetFPS = globalCfg.GetDouble("TargetFPS");
|
||||
emuInstance->fastForwardFPS = globalCfg.GetDouble("FastForwardFPS");
|
||||
emuInstance->slowmoFPS = globalCfg.GetDouble("SlowmoFPS");
|
||||
panel->setMouseHide(globalCfg.GetBool("MouseHide"),
|
||||
globalCfg.GetInt("MouseHideSeconds")*1000);
|
||||
}
|
||||
|
Reference in New Issue
Block a user