Merge pull request #10784 from AdmiralCurtiss/mail-handler-state

DSPHLE: Add variables in CMailHandler to savestate.
This commit is contained in:
JMC47 2022-06-25 14:42:26 -04:00 committed by GitHub
commit b30e1c5bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,