Merge pull request #7396 from Techjar/store-sram-in-savestate

Include SRAM in savestates
This commit is contained in:
Tilka 2020-06-24 08:49:43 +01:00 committed by GitHub
commit a1a107dc08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ CEXIIPL::~CEXIIPL()
}
void CEXIIPL::DoState(PointerWrap& p)
{
p.Do(g_SRAM.rtc);
p.Do(g_SRAM);
p.Do(g_rtc_flags);
p.Do(m_command);
p.Do(m_command_bytes_received);

View File

@ -74,7 +74,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
constexpr u32 STATE_VERSION = 116; // Last changed in PR 8879
constexpr u32 STATE_VERSION = 117; // Last changed in PR 7396
// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,