mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
Cheevos: Fix unlimited fast forward in hardcode mode
This commit is contained in:
parent
a559139105
commit
e2694b2570
|
@ -2664,9 +2664,11 @@ void CommonHostInterface::FixIncompatibleSettings(bool display_osd_messages)
|
||||||
// if challenge mode is enabled, disable things like rewind since they use save states
|
// if challenge mode is enabled, disable things like rewind since they use save states
|
||||||
if (IsCheevosChallengeModeActive())
|
if (IsCheevosChallengeModeActive())
|
||||||
{
|
{
|
||||||
g_settings.emulation_speed = std::max(g_settings.emulation_speed, 1.0f);
|
g_settings.emulation_speed =
|
||||||
g_settings.fast_forward_speed = std::max(g_settings.fast_forward_speed, 1.0f);
|
(g_settings.emulation_speed != 0.0f) ? std::max(g_settings.emulation_speed, 1.0f) : 0.0f;
|
||||||
g_settings.turbo_speed = std::max(g_settings.turbo_speed, 1.0f);
|
g_settings.fast_forward_speed =
|
||||||
|
(g_settings.fast_forward_speed != 0.0f) ? std::max(g_settings.fast_forward_speed, 1.0f) : 0.0f;
|
||||||
|
g_settings.turbo_speed = (g_settings.turbo_speed != 0.0f) ? std::max(g_settings.turbo_speed, 1.0f) : 0.0f;
|
||||||
g_settings.rewind_enable = false;
|
g_settings.rewind_enable = false;
|
||||||
g_settings.auto_load_cheats = false;
|
g_settings.auto_load_cheats = false;
|
||||||
g_settings.debugging.enable_gdb_server = false;
|
g_settings.debugging.enable_gdb_server = false;
|
||||||
|
|
Loading…
Reference in a new issue