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

@ -1712,7 +1712,7 @@ bool System::DoState(StateWrapper& sw, GPUTexture** host_texture, bool update_di
if (!sw.DoMarker("CDROM") || !CDROM::DoState(sw))
return false;
if (!sw.DoMarker("Pad") || !Pad::DoState(sw))
if (!sw.DoMarker("Pad") || !Pad::DoState(sw, is_memory_state))
return false;
if (!sw.DoMarker("Timers") || !Timers::DoState(sw))