mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
Merge pull request #7396 from Techjar/store-sram-in-savestate
Include SRAM in savestates
This commit is contained in:
commit
a1a107dc08
@ -151,7 +151,7 @@ CEXIIPL::~CEXIIPL()
|
|||||||
}
|
}
|
||||||
void CEXIIPL::DoState(PointerWrap& p)
|
void CEXIIPL::DoState(PointerWrap& p)
|
||||||
{
|
{
|
||||||
p.Do(g_SRAM.rtc);
|
p.Do(g_SRAM);
|
||||||
p.Do(g_rtc_flags);
|
p.Do(g_rtc_flags);
|
||||||
p.Do(m_command);
|
p.Do(m_command);
|
||||||
p.Do(m_command_bytes_received);
|
p.Do(m_command_bytes_received);
|
||||||
|
@ -74,7 +74,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
|
|||||||
static std::thread g_save_thread;
|
static std::thread g_save_thread;
|
||||||
|
|
||||||
// Don't forget to increase this after doing changes on the savestate system
|
// 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.
|
// Maps savestate versions to Dolphin versions.
|
||||||
// Versions after 42 don't need to be added to this list,
|
// Versions after 42 don't need to be added to this list,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user