diff --git a/src/core/gpu_backend.cpp b/src/core/gpu_backend.cpp index 871e344a3..cb6f6d1d9 100644 --- a/src/core/gpu_backend.cpp +++ b/src/core/gpu_backend.cpp @@ -370,7 +370,7 @@ void GPUBackend::HandleCommand(const GPUThreadCommand* cmd) case GPUBackendCommandType::LoadMemoryState: { System::MemorySaveState& mss = *static_cast(cmd)->memory_save_state; - StateWrapper sw(mss.gpu_state_data.span(mss.gpu_state_size), StateWrapper::Mode::Read, SAVE_STATE_VERSION); + StateWrapper sw(mss.gpu_state_data.span(0, mss.gpu_state_size), StateWrapper::Mode::Read, SAVE_STATE_VERSION); DoMemoryState(sw, mss); } break;