Skip to content

Commit

Permalink
Merge pull request #10784 from AdmiralCurtiss/mail-handler-state
Browse files Browse the repository at this point in the history
DSPHLE: Add variables in CMailHandler to savestate.
  • Loading branch information
JMC47 committed Jun 25, 2022
2 parents ec7bf7d + caf0e5b commit b30e1c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/Core/Core/HW/DSPHLE/MailHandler.cpp
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Source/Core/Core/State.cpp
Expand Up @@ -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,
Expand Down

0 comments on commit b30e1c5

Please sign in to comment.