mirror of https://github.com/PCSX2/pcsx2.git
PAD/Core bugfix for #6472
Bugfix for https://github.com/PCSX2/pcsx2/issues/6472 which was introduced by hold turbo changes
This commit is contained in:
parent
bb336f1bc7
commit
1b65f5f164
|
@ -1711,6 +1711,14 @@ DEFINE_HOTKEY("ToggleFrameLimit", "System", "Toggle Frame Limit", [](bool presse
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
DEFINE_HOTKEY("ToggleTurbo", "System", "Toggle Turbo", [](bool pressed) {
|
DEFINE_HOTKEY("ToggleTurbo", "System", "Toggle Turbo", [](bool pressed) {
|
||||||
|
if (!pressed)
|
||||||
|
{
|
||||||
|
VMManager::SetLimiterMode((EmuConfig.LimiterMode != LimiterModeType::Turbo) ?
|
||||||
|
LimiterModeType::Turbo :
|
||||||
|
LimiterModeType::Nominal);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
DEFINE_HOTKEY("HoldTurbo", "System", "Turbo (Hold)", [](bool pressed) {
|
||||||
if (pressed && !s_limiter_mode_prior_to_hold_interaction.has_value())
|
if (pressed && !s_limiter_mode_prior_to_hold_interaction.has_value())
|
||||||
{
|
{
|
||||||
s_limiter_mode_prior_to_hold_interaction = VMManager::GetLimiterMode();
|
s_limiter_mode_prior_to_hold_interaction = VMManager::GetLimiterMode();
|
||||||
|
|
Loading…
Reference in New Issue