Fix savestate issue

This commit is contained in:
Henrik Rydgård
2026-07-10 12:28:44 +02:00
parent 41c3eba296
commit 3d7817a5e3
+3 -1
View File
@@ -334,13 +334,15 @@ 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_);
if (s >= 2) {
Do(p, remainingPackets_);
}
}
void run(MipsCall &call) override;
private:
u32 ringAddr_ = 0;