mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 19:15:45 -04:00
Do not allow loading save states via commandline in Hardcore mode
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user