mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Do not allow loading save states via commandline in Hardcore mode
This commit is contained in:
parent
d52b0e5dbb
commit
7d8f3d26a6
|
@ -174,6 +174,11 @@ bool CommonHostInterface::BootSystem(std::shared_ptr<SystemBootParameters> param
|
|||
if (m_display && m_fullscreen_ui_enabled)
|
||||
FullscreenUI::EnsureGameListLoaded();
|
||||
|
||||
// In Challenge mode, do not allow loading a save state under any circumstances
|
||||
// If it's present, drop it
|
||||
if (IsCheevosChallengeModeActive())
|
||||
parameters->state_stream.reset();
|
||||
|
||||
ApplyRendererFromGameSettings(parameters->filename);
|
||||
|
||||
if (!HostInterface::BootSystem(parameters))
|
||||
|
|
Loading…
Reference in a new issue