Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9976 from Tilka/ax
DSPHLE: include compressor state in save states
  • Loading branch information
lioncash committed Jul 31, 2021
2 parents 35baf8d + 655bff5 commit b6bd3fc
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/UCodes/AX.cpp
Expand Up @@ -747,6 +747,8 @@ void AXUCode::DoAXState(PointerWrap& p)
p.Do(m_samples_auxB_left);
p.Do(m_samples_auxB_right);
p.Do(m_samples_auxB_surround);

p.Do(m_compressor_pos);
}

void AXUCode::DoState(PointerWrap& p)
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/State.cpp
Expand Up @@ -73,7 +73,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
static std::thread g_save_thread;

// Don't forget to increase this after doing changes on the savestate system
constexpr u32 STATE_VERSION = 134; // Last changed in PR 7896
constexpr u32 STATE_VERSION = 135; // Last changed in PR 9976

// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,
Expand Down

0 comments on commit b6bd3fc

Please sign in to comment.