Merge pull request #9976 from Tilka/ax

DSPHLE: include compressor state in save states
This commit is contained in:
Mai M 2021-07-31 03:56:27 -04:00 committed by GitHub
commit b6bd3fc430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -747,6 +747,8 @@ void AXUCode::DoAXState(PointerWrap& p)
p.Do(m_samples_auxB_left); p.Do(m_samples_auxB_left);
p.Do(m_samples_auxB_right); p.Do(m_samples_auxB_right);
p.Do(m_samples_auxB_surround); p.Do(m_samples_auxB_surround);
p.Do(m_compressor_pos);
} }
void AXUCode::DoState(PointerWrap& p) void AXUCode::DoState(PointerWrap& p)

View File

@ -73,7 +73,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
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 = 134; // Last changed in PR 7896 constexpr u32 STATE_VERSION = 135; // Last changed in PR 9976
// 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,