From a1e8e60c4c56d7023264c44fe1b8699014de4f8c Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Wed, 20 Jul 2022 21:32:44 +0200 Subject: [PATCH] IOS: Add IOSC::KeyEntry::misc_data to savestate. --- Source/Core/Core/IOS/IOSC.cpp | 1 + Source/Core/Core/State.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/IOSC.cpp b/Source/Core/Core/IOS/IOSC.cpp index 06783abc64..d9dc0f1fb2 100644 --- a/Source/Core/Core/IOS/IOSC.cpp +++ b/Source/Core/Core/IOS/IOSC.cpp @@ -649,6 +649,7 @@ void IOSC::KeyEntry::DoState(PointerWrap& p) p.Do(type); p.Do(subtype); p.Do(data); + p.Do(misc_data); p.Do(owner_mask); } } // namespace IOS::HLE diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp index 6f0f84cc21..bccb56a835 100644 --- a/Source/Core/Core/State.cpp +++ b/Source/Core/Core/State.cpp @@ -74,7 +74,7 @@ static std::recursive_mutex g_save_thread_mutex; static std::thread g_save_thread; // Don't forget to increase this after doing changes on the savestate system -constexpr u32 STATE_VERSION = 144; // Last changed in PR 10762 +constexpr u32 STATE_VERSION = 145; // Last changed in PR 10879 // Maps savestate versions to Dolphin versions. // Versions after 42 don't need to be added to this list,