HostInterface: Only display error when loading resume state if boot anyway flag isn't set

This commit is contained in:
Connor McLaughlin 2020-02-16 00:14:58 +09:00
parent 6d945439eb
commit cd2f6d1f68
1 changed files with 3 additions and 6 deletions

View File

@ -497,16 +497,13 @@ bool HostInterface::ResumeSystemFromState(const char* filename, bool boot_on_fai
return false;
}
}
else
else if (!boot_on_failure)
{
ReportFormattedError("Resume save state not found for '%s' ('%s').", m_system->GetRunningCode().c_str(),
m_system->GetRunningTitle().c_str());
if (!boot_on_failure)
{
DestroySystem();
return false;
}
}
return true;
}