diff --git a/src/core/gpu.cpp b/src/core/gpu.cpp index f0586417b..a1afb104a 100644 --- a/src/core/gpu.cpp +++ b/src/core/gpu.cpp @@ -347,8 +347,12 @@ bool GPU::DoState(StateWrapper& sw) sw.Do(&m_blit_remaining_words); sw.Do(&m_render_command.bits); - sw.Do(&m_max_run_ahead); - sw.Do(&m_fifo_size); + if (sw.GetVersion() < 83) [[unlikely]] + { + // Removed in v83 + DebugAssert(sw.IsReading()); + sw.SkipBytes(sizeof(u32) * 2); + } if (!sw.DoMarker("GPU-VRAM")) return false; diff --git a/src/core/save_state_version.h b/src/core/save_state_version.h index b53d5f16f..dcec17f3b 100644 --- a/src/core/save_state_version.h +++ b/src/core/save_state_version.h @@ -6,7 +6,7 @@ #include "common/types.h" inline constexpr u32 SAVE_STATE_MAGIC = 0x43435544; -inline constexpr u32 SAVE_STATE_VERSION = 82; +inline constexpr u32 SAVE_STATE_VERSION = 83; inline constexpr u32 SAVE_STATE_MINIMUM_VERSION = 42; static_assert(SAVE_STATE_VERSION >= SAVE_STATE_MINIMUM_VERSION);