mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 11:25:46 -04:00
System: Update per-game memory cards on load state
Prevents saves being written to incorrect card after loading.
This commit is contained in:
@ -336,6 +336,9 @@ bool System::DoState(StateWrapper& sw)
|
||||
}
|
||||
|
||||
UpdateRunningGame(media_filename.c_str(), media.get());
|
||||
if (GetSettings().HasAnyPerGameMemoryCards())
|
||||
UpdateMemoryCards();
|
||||
|
||||
m_cdrom->Reset();
|
||||
if (media)
|
||||
m_cdrom->InsertMedia(std::move(media));
|
||||
|
Reference in New Issue
Block a user