mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 18:05:47 -04:00
Pad: Use memory card filename from current state
Fixes memory card data getting lost after loading state.
This commit is contained in:
@ -110,6 +110,7 @@ bool Pad::DoState(StateWrapper& sw)
|
||||
if (m_memory_cards[i]->GetData() == card_from_state->GetData())
|
||||
{
|
||||
Log_DevPrintf("Using memory card %u state from save state", i);
|
||||
card_from_state->SetFilename(m_memory_cards[i]->GetFilename());
|
||||
m_memory_cards[i] = std::move(card_from_state);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user