Qt: Remove Speed Limiter setting

Causes confusion when users untick it and wonder why games won't react to F4 or tab.
This commit is contained in:
JordanTheToaster 2024-03-23 15:48:56 +00:00 committed by refractionpcsx2
parent cf1f2d6919
commit b2b7fa36bb
3 changed files with 10 additions and 22 deletions

View File

@ -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. "

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>672</width>
<height>431</height>
<height>438</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
@ -29,15 +29,19 @@
<string>Speed Control</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Slow-Motion Speed:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="fastForwardSpeed"/>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="slowMotionSpeed"/>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="normalSpeed"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
@ -45,13 +49,6 @@
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Slow-Motion Speed:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
@ -59,12 +56,8 @@
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="speedLimiter">
<property name="text">
<string>Enable Speed Limiter</string>
</property>
</widget>
<item row="0" column="1">
<widget class="QComboBox" name="normalSpeed"/>
</item>
</layout>
</widget>

View File

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