From 1492d647f411b04d6a78d4aed9d32f5c55b1f455 Mon Sep 17 00:00:00 2001 From: Elad <18193363+elad335@users.noreply.github.com> Date: Thu, 11 Jun 2026 19:56:27 +0300 Subject: [PATCH] SaveStates: Fix lv2_timer serialization --- rpcs3/Emu/Cell/lv2/sys_timer.cpp | 4 ++-- rpcs3/Emu/savestate_utils.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_timer.cpp b/rpcs3/Emu/Cell/lv2/sys_timer.cpp index 8a2419097d..e65fa10432 100644 --- a/rpcs3/Emu/Cell/lv2/sys_timer.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_timer.cpp @@ -37,8 +37,8 @@ lv2_timer::lv2_timer(utils::serial& ar) , source(ar) , data1(ar) , data2(ar) - , expire(ar.pop()) - , period(ar.pop()) + , expire(ar.pop()) + , period(ar.pop()) { } diff --git a/rpcs3/Emu/savestate_utils.cpp b/rpcs3/Emu/savestate_utils.cpp index 7c0cd7390c..ba68dceba2 100644 --- a/rpcs3/Emu/savestate_utils.cpp +++ b/rpcs3/Emu/savestate_utils.cpp @@ -606,7 +606,7 @@ namespace stx if ((saved ^ tag) & data_mask) { ensure(!ar.is_writing()); - fmt::throw_exception("serial_breathe_and_tag(%u): %s\nobject: '%s', next-object: '%s', expected/tag: 0x%x != 0x%x,", s_tls_call_count, ar, s_tls_object_name, name, tag, saved); + fmt::throw_exception("serial_breathe_and_tag(%u): %s\nobject: '%s', next-object: '%s', expected/tag: 0x%x != 0x%x\nLatest known RPCS3 build working for savestates: 0.0.41-19455", s_tls_call_count, ar, s_tls_object_name, name, tag, saved); } s_tls_object_name = name;