From b2b7fa36bbfa8aeb04aef79661263d1298a92ccf Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Sat, 23 Mar 2024 15:48:56 +0000 Subject: [PATCH] Qt: Remove Speed Limiter setting Causes confusion when users untick it and wonder why games won't react to F4 or tab. --- pcsx2-qt/Settings/EmulationSettingsWidget.cpp | 3 --- pcsx2-qt/Settings/EmulationSettingsWidget.ui | 27 +++++++------------ pcsx2/Pcsx2Config.cpp | 2 -- 3 files changed, 10 insertions(+), 22 deletions(-) diff --git a/pcsx2-qt/Settings/EmulationSettingsWidget.cpp b/pcsx2-qt/Settings/EmulationSettingsWidget.cpp index d3e0a6600d..e5a8fea6c5 100644 --- a/pcsx2-qt/Settings/EmulationSettingsWidget.cpp +++ b/pcsx2-qt/Settings/EmulationSettingsWidget.cpp @@ -30,7 +30,6 @@ EmulationSettingsWidget::EmulationSettingsWidget(SettingsWindow* dialog, QWidget initializeSpeedCombo(m_ui.fastForwardSpeed, "Framerate", "TurboScalar", 2.0f); initializeSpeedCombo(m_ui.slowMotionSpeed, "Framerate", "SlomoScalar", 0.5f); - SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.speedLimiter, "EmuCore/GS", "FrameLimitEnable", true); SettingWidgetBinder::BindWidgetToIntSetting(sif, m_ui.maxFrameLatency, "EmuCore/GS", "VsyncQueueSize", DEFAULT_FRAME_LATENCY); SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.syncToHostRefreshRate, "EmuCore/GS", "SyncToHostRefreshRate", false); connect(m_ui.optimalFramePacing, &QCheckBox::stateChanged, this, &EmulationSettingsWidget::onOptimalFramePacingChanged); @@ -101,8 +100,6 @@ EmulationSettingsWidget::EmulationSettingsWidget(SettingsWindow* dialog, QWidget //: The "User Preference" string will appear after the text "Recommended Value:" dialog->registerWidgetHelp(m_ui.slowMotionSpeed, tr("Slow-Motion Speed"), tr("User Preference"), tr("Sets the slow-motion speed. This speed will be used when the slow-motion hotkey is pressed/toggled.")); - dialog->registerWidgetHelp(m_ui.speedLimiter, tr("Speed Limiter"), tr("Checked"), - tr("Limits the emulation to the appropriate framerate for the currently running game.")); dialog->registerWidgetHelp(m_ui.eeCycleRate, tr("EE Cycle Rate"), tr("100% (Normal Speed)"), tr("Higher values may increase internal framerate in games, but will increase CPU requirements substantially. " diff --git a/pcsx2-qt/Settings/EmulationSettingsWidget.ui b/pcsx2-qt/Settings/EmulationSettingsWidget.ui index bea268cbb1..f0fdfadf99 100644 --- a/pcsx2-qt/Settings/EmulationSettingsWidget.ui +++ b/pcsx2-qt/Settings/EmulationSettingsWidget.ui @@ -7,7 +7,7 @@ 0 0 672 - 431 + 438 @@ -29,15 +29,19 @@ Speed Control + + + + Slow-Motion Speed: + + + - - - @@ -45,13 +49,6 @@ - - - - Slow-Motion Speed: - - - @@ -59,12 +56,8 @@ - - - - Enable Speed Limiter - - + + diff --git a/pcsx2/Pcsx2Config.cpp b/pcsx2/Pcsx2Config.cpp index 28884588cb..11a9515c94 100644 --- a/pcsx2/Pcsx2Config.cpp +++ b/pcsx2/Pcsx2Config.cpp @@ -1497,9 +1497,7 @@ void Pcsx2Config::EmulationSpeedOptions::LoadSave(SettingsWrapper& wrap) SettingsWrapEntry(SlomoScalar); // This was in the wrong place... but we can't change it without breaking existing configs. - //SettingsWrapBitBool(FrameLimitEnable); //SettingsWrapBitBool(SyncToHostRefreshRate); - FrameLimitEnable = wrap.EntryBitBool("EmuCore/GS", "FrameLimitEnable", FrameLimitEnable, FrameLimitEnable); SyncToHostRefreshRate = wrap.EntryBitBool("EmuCore/GS", "SyncToHostRefreshRate", SyncToHostRefreshRate, SyncToHostRefreshRate); }