DSPHLE: Add variables in CMailHandler to savestate.

This commit is contained in:
Admiral H. Curtiss 2022-06-25 19:15:21 +02:00
parent ec7bf7d1ec
commit caf0e5b3e8
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
2 changed files with 3 additions and 1 deletions

View File

@ -87,5 +87,7 @@ void CMailHandler::SetHalted(bool halt)
void CMailHandler::DoState(PointerWrap& p)
{
p.Do(m_pending_mails);
p.Do(m_last_mail);
p.Do(m_halted);
}
} // namespace DSP::HLE

View File

@ -74,7 +74,7 @@ static std::recursive_mutex g_save_thread_mutex;
static std::thread g_save_thread;
// 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.
// Versions after 42 don't need to be added to this list,