PAD: Intelligently skip saving memcard state for runahead

This commit is contained in:
Stenzek
2023-03-16 21:22:08 +10:00
parent 595abd27dd
commit 3673827363
5 changed files with 192 additions and 30 deletions

View File

@ -18,6 +18,8 @@ public:
MemoryCard();
~MemoryCard();
static constexpr u32 STATE_SIZE = 1 + 1 + 2 + 1 + 1 + 1 + MemoryCardImage::DATA_SIZE + 1;
static std::string SanitizeGameTitleForFileName(const std::string_view& name);
static std::unique_ptr<MemoryCard> Create();