SaveStates: Fix lv2_timer serialization

This commit is contained in:
Elad
2026-06-11 19:56:27 +03:00
parent 0b535328c8
commit 1492d647f4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ lv2_timer::lv2_timer(utils::serial& ar)
, source(ar)
, data1(ar)
, data2(ar)
, expire(ar.pop<u32>())
, period(ar.pop<u32>())
, expire(ar.pop<u64>())
, period(ar.pop<u64>())
{
}
+1 -1
View File
@@ -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;