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 New Issue