mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 10:45:46 -04:00
Pad: Use memory card filename from current state
Fixes memory card data getting lost after loading state.
This commit is contained in:
@ -19,6 +19,8 @@ public:
|
||||
static std::unique_ptr<MemoryCard> Open(std::string_view filename);
|
||||
|
||||
const MemoryCardImage::DataArray& GetData() const { return m_data; }
|
||||
const std::string& GetFilename() const { return m_filename; }
|
||||
void SetFilename(std::string filename) { m_filename = std::move(filename); }
|
||||
|
||||
void Reset();
|
||||
bool DoState(StateWrapper& sw);
|
||||
|
Reference in New Issue
Block a user