summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-01-11 06:52:04 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2024-01-12 06:37:11 +0100
commit5a633f0bcf0c96b2bbf468779a2a12f41bafb2ff (patch)
tree35eaf55966b77ed748a4132b93dc7574c82660b7 /Source/Core
parent17753d5168cd24a8225a134c090e53e5ba65503b (diff)
Core/IOS/WiiIPC: Add missing variables to savestate.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/WII_IPC.cpp2
-rw-r--r--Source/Core/Core/State.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/WII_IPC.cpp b/Source/Core/Core/HW/WII_IPC.cpp
index 06be7c000e..e8db89ff38 100644
--- a/Source/Core/Core/HW/WII_IPC.cpp
+++ b/Source/Core/Core/HW/WII_IPC.cpp
@@ -74,7 +74,9 @@ void WiiIPC::DoState(PointerWrap& p)
p.Do(m_ppc_irq_masks);
p.Do(m_arm_irq_flags);
p.Do(m_arm_irq_masks);
+ p.Do(m_gpio_dir);
p.Do(m_gpio_out);
+ p.Do(m_resets);
}
void WiiIPC::InitState()
diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp
index 95a431366f..4147136588 100644
--- a/Source/Core/Core/State.cpp
+++ b/Source/Core/Core/State.cpp
@@ -95,7 +95,7 @@ static size_t s_state_writes_in_queue;
static std::condition_variable s_state_write_queue_is_empty;
// Don't forget to increase this after doing changes on the savestate system
-constexpr u32 STATE_VERSION = 166; // Last changed in PR 12487
+constexpr u32 STATE_VERSION = 167; // Last changed in PR 12494
// Increase this if the StateExtendedHeader definition changes
constexpr u32 EXTENDED_HEADER_VERSION = 1; // Last changed in PR 12217