Pad: Load memory card from state when the data matches

A warning will be displayed when the card content does not match.
This commit is contained in:
Connor McLaughlin
2020-09-26 15:52:41 +10:00
parent f26e75fa37
commit 3b68c4028d
2 changed files with 38 additions and 6 deletions

View File

@ -18,6 +18,8 @@ public:
static std::unique_ptr<MemoryCard> Create();
static std::unique_ptr<MemoryCard> Open(std::string_view filename);
const MemoryCardImage::DataArray& GetData() const { return m_data; }
void Reset();
bool DoState(StateWrapper& sw);