DSPHLE: Require implementing DoState

CARDUCode, GBAUCode, and INITUCode previously didn't have an implementation of it. In practice it's unlikely that this caused an issue, since these uCodes are only active for a few frames at most, but now that GBAUCode doesn't have global state, we can implement it there. I also implemented it for CARDUCode, although our CARDUCode implementation does not have all states handled yet - this is simply future-proofing so that when the card uCode is properly implemented, the save state version does not need to be bumped. INITUCode does not have any state to save, though.
This commit is contained in:
Pokechu22
2022-06-20 12:37:58 -07:00
parent f2e833b5c4
commit bf70026728
8 changed files with 35 additions and 2 deletions

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 = 147; // Last changed in PR 10935
constexpr u32 STATE_VERSION = 148; // Last changed in PR 10768
// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,