mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +00:00
System: Fix broken missing-SBI detection
This commit is contained in:
parent
7101b86d2f
commit
e27f259bf8
|
@ -1153,17 +1153,18 @@ bool System::BootSystem(SystemBootParameters parameters)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update running game, this will apply settings as well.
|
||||||
|
UpdateRunningGame(media ? media->GetFileName().c_str() : parameters.filename.c_str(), media.get(), true);
|
||||||
|
|
||||||
// Check for SBI.
|
// Check for SBI.
|
||||||
if (!CheckForSBIFile(media.get()))
|
if (!CheckForSBIFile(media.get()))
|
||||||
{
|
{
|
||||||
s_state = State::Shutdown;
|
s_state = State::Shutdown;
|
||||||
|
ClearRunningGame();
|
||||||
Host::OnSystemDestroyed();
|
Host::OnSystemDestroyed();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update running game, this will apply settings as well.
|
|
||||||
UpdateRunningGame(media ? media->GetFileName().c_str() : parameters.filename.c_str(), media.get(), true);
|
|
||||||
|
|
||||||
#ifdef WITH_CHEEVOS
|
#ifdef WITH_CHEEVOS
|
||||||
// Check for resuming with hardcore mode.
|
// Check for resuming with hardcore mode.
|
||||||
if (!parameters.save_state.empty() && Achievements::ChallengeModeActive() &&
|
if (!parameters.save_state.empty() && Achievements::ChallengeModeActive() &&
|
||||||
|
|
Loading…
Reference in a new issue