From d86d5d62ad9d876727e006f18eb31cfd45665bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 6 Aug 2017 19:00:19 +0800 Subject: [PATCH] IOS/SDIO: Add missing save calls in DoState --- Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp | 2 ++ Source/Core/Core/State.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp b/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp index d75135d5b9..8d28792f3e 100644 --- a/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp +++ b/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp @@ -61,6 +61,8 @@ void SDIOSlot0::DoState(PointerWrap& p) p.Do(m_block_length); p.Do(m_bus_width); p.Do(m_registers); + p.Do(m_protocol); + p.Do(m_sdhc_supported); } void SDIOSlot0::EventNotify() diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp index 9af7b25439..73ce9271af 100644 --- a/Source/Core/Core/State.cpp +++ b/Source/Core/Core/State.cpp @@ -73,7 +73,7 @@ static Common::Event g_compressAndDumpStateSyncEvent; static std::thread g_save_thread; // Don't forget to increase this after doing changes on the savestate system -static const u32 STATE_VERSION = 88; // Last changed in PR 5733 +static const u32 STATE_VERSION = 89; // Last changed in PR 5890 // Maps savestate versions to Dolphin versions. // Versions after 42 don't need to be added to this list,