File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -347,8 +347,12 @@ bool GPU::DoState(StateWrapper& sw)
347347 sw.Do (&m_blit_remaining_words);
348348 sw.Do (&m_render_command.bits );
349349
350- sw.Do (&m_max_run_ahead);
351- sw.Do (&m_fifo_size);
350+ if (sw.GetVersion () < 83 ) [[unlikely]]
351+ {
352+ // Removed in v83
353+ DebugAssert (sw.IsReading ());
354+ sw.SkipBytes (sizeof (u32 ) * 2 );
355+ }
352356
353357 if (!sw.DoMarker (" GPU-VRAM" ))
354358 return false ;
Original file line number Diff line number Diff line change 66#include "common/types.h"
77
88inline constexpr u32 SAVE_STATE_MAGIC = 0x43435544 ;
9- inline constexpr u32 SAVE_STATE_VERSION = 82 ;
9+ inline constexpr u32 SAVE_STATE_VERSION = 83 ;
1010inline constexpr u32 SAVE_STATE_MINIMUM_VERSION = 42 ;
1111
1212static_assert (SAVE_STATE_VERSION >= SAVE_STATE_MINIMUM_VERSION );
You can’t perform that action at this time.
0 commit comments