mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
HostInterface: Only display error when loading resume state if boot anyway flag isn't set
This commit is contained in:
parent
6d945439eb
commit
cd2f6d1f68
|
@ -497,15 +497,12 @@ bool HostInterface::ResumeSystemFromState(const char* filename, bool boot_on_fai
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (!boot_on_failure)
|
||||||
{
|
{
|
||||||
ReportFormattedError("Resume save state not found for '%s' ('%s').", m_system->GetRunningCode().c_str(),
|
ReportFormattedError("Resume save state not found for '%s' ('%s').", m_system->GetRunningCode().c_str(),
|
||||||
m_system->GetRunningTitle().c_str());
|
m_system->GetRunningTitle().c_str());
|
||||||
if (!boot_on_failure)
|
DestroySystem();
|
||||||
{
|
return false;
|
||||||
DestroySystem();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue