From 3d7817a5e3d1081bcacbc4bca0617b91e29c2bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 10 Jul 2026 12:28:44 +0200 Subject: [PATCH] Fix savestate issue --- Core/HLE/sceMpeg.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp index 93354ef25c..c318081370 100644 --- a/Core/HLE/sceMpeg.cpp +++ b/Core/HLE/sceMpeg.cpp @@ -334,12 +334,14 @@ public: void setRemainingPackets(u32 remainingPackets) { remainingPackets_ = remainingPackets; } static PSPAction *Create() { return new PostPutAction; } void DoState(PointerWrap &p) override { - auto s = p.Section("PostPutAction", 1); + auto s = p.Section("PostPutAction", 1, 2); if (!s) return; Do(p, ringAddr_); - Do(p, remainingPackets_); + if (s >= 2) { + Do(p, remainingPackets_); + } } void run(MipsCall &call) override; private: