mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-23 22:09:53 +00:00
System: Fix title after loading state for EXE-boot
This commit is contained in:
parent
e70f155054
commit
c637e2b337
@ -2564,8 +2564,14 @@ bool System::LoadStateFromStream(ByteStream* state, Error* error, bool update_di
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Skip updating media if there is none, and none in the state. That way we don't wipe out EXE boot.
|
||||||
|
ignore_media = !CDROM::HasMedia();
|
||||||
|
}
|
||||||
|
|
||||||
UpdateRunningGame(media_filename.c_str(), media.get(), false);
|
if (!ignore_media)
|
||||||
|
UpdateRunningGame(media_filename.c_str(), media.get(), false);
|
||||||
|
|
||||||
if (media && header.version >= 51)
|
if (media && header.version >= 51)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user