mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
DSPHLE: Add variables in CMailHandler to savestate.
This commit is contained in:
parent
ec7bf7d1ec
commit
caf0e5b3e8
@ -87,5 +87,7 @@ void CMailHandler::SetHalted(bool halt)
|
|||||||
void CMailHandler::DoState(PointerWrap& p)
|
void CMailHandler::DoState(PointerWrap& p)
|
||||||
{
|
{
|
||||||
p.Do(m_pending_mails);
|
p.Do(m_pending_mails);
|
||||||
|
p.Do(m_last_mail);
|
||||||
|
p.Do(m_halted);
|
||||||
}
|
}
|
||||||
} // namespace DSP::HLE
|
} // namespace DSP::HLE
|
||||||
|
@ -74,7 +74,7 @@ static std::recursive_mutex g_save_thread_mutex;
|
|||||||
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 = 142; // Last changed in PR 10732
|
constexpr u32 STATE_VERSION = 143; // Last changed in PR 10784
|
||||||
|
|
||||||
// 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