mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-17 22:25:37 +00:00
System: Fix a possible assertion failure loading state
This commit is contained in:
parent
21ecf231d9
commit
86eefbd5d7
|
@ -336,6 +336,7 @@ bool System::DoState(StateWrapper& sw)
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateRunningGame(media_filename.c_str(), media.get());
|
UpdateRunningGame(media_filename.c_str(), media.get());
|
||||||
|
m_cdrom->Reset();
|
||||||
if (media)
|
if (media)
|
||||||
m_cdrom->InsertMedia(std::move(media));
|
m_cdrom->InsertMedia(std::move(media));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue