From 108247dccc8a217b5b78e538304d89fd5d394e2e Mon Sep 17 00:00:00 2001 From: capriots <29807355+capriots@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:43:02 +0100 Subject: [PATCH] Invalidate savestates --- rpcs3/Emu/Cell/Modules/cellAdec.cpp | 1 - rpcs3/Emu/savestate_utils.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellAdec.cpp b/rpcs3/Emu/Cell/Modules/cellAdec.cpp index 6e8a637a72..97f7a1a188 100644 --- a/rpcs3/Emu/Cell/Modules/cellAdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAdec.cpp @@ -901,7 +901,6 @@ error_code cellAdecClose(ppu_thread& ppu, vm::ptr handle) return ret; } - handle->_this = vm::null; handle->sequence_state = AdecSequenceState::closed; diff --git a/rpcs3/Emu/savestate_utils.cpp b/rpcs3/Emu/savestate_utils.cpp index 46302e3ea5..89de9767b8 100644 --- a/rpcs3/Emu/savestate_utils.cpp +++ b/rpcs3/Emu/savestate_utils.cpp @@ -42,7 +42,7 @@ static std::array s_serial_versions; return ::s_serial_versions[identifier].current_version;\ } -SERIALIZATION_VER(global_version, 0, 16) // For stuff not listed here +SERIALIZATION_VER(global_version, 0, 17) // For stuff not listed here SERIALIZATION_VER(ppu, 1, 1, 2/*PPU sleep order*/, 3/*PPU FNID and module*/) SERIALIZATION_VER(spu, 2, 1) SERIALIZATION_VER(lv2_sync, 3, 1)