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,7 +18,7 @@ static constexpr u32 NUM_SLOTS = 2;
void Initialize();
void Shutdown();
void Reset();
bool DoState(StateWrapper& sw);
bool DoState(StateWrapper& sw, bool is_memory_state);
Controller* GetController(u32 slot);
void SetController(u32 slot, std::unique_ptr<Controller> dev);