mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Force reloading of LastELF on state load
This commit is contained in:
parent
71935e7099
commit
624e5ae633
|
@ -1049,6 +1049,13 @@ bool VMManager::DoLoadState(const char* filename)
|
||||||
{
|
{
|
||||||
Host::OnSaveStateLoading(filename);
|
Host::OnSaveStateLoading(filename);
|
||||||
SaveState_UnzipFromDisk(filename);
|
SaveState_UnzipFromDisk(filename);
|
||||||
|
|
||||||
|
// HACK: LastELF isn't in the save state...
|
||||||
|
if (!s_elf_override.empty())
|
||||||
|
cdvdReloadElfInfo(fmt::format("host:{}", s_elf_override));
|
||||||
|
else
|
||||||
|
cdvdReloadElfInfo();
|
||||||
|
|
||||||
UpdateRunningGame(false, false);
|
UpdateRunningGame(false, false);
|
||||||
Host::OnSaveStateLoaded(filename, true);
|
Host::OnSaveStateLoaded(filename, true);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue