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,16 +497,13 @@ 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();
|
DestroySystem();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue