mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix savestate issue
This commit is contained in:
@@ -334,12 +334,14 @@ public:
|
|||||||
void setRemainingPackets(u32 remainingPackets) { remainingPackets_ = remainingPackets; }
|
void setRemainingPackets(u32 remainingPackets) { remainingPackets_ = remainingPackets; }
|
||||||
static PSPAction *Create() { return new PostPutAction; }
|
static PSPAction *Create() { return new PostPutAction; }
|
||||||
void DoState(PointerWrap &p) override {
|
void DoState(PointerWrap &p) override {
|
||||||
auto s = p.Section("PostPutAction", 1);
|
auto s = p.Section("PostPutAction", 1, 2);
|
||||||
if (!s)
|
if (!s)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Do(p, ringAddr_);
|
Do(p, ringAddr_);
|
||||||
Do(p, remainingPackets_);
|
if (s >= 2) {
|
||||||
|
Do(p, remainingPackets_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
void run(MipsCall &call) override;
|
void run(MipsCall &call) override;
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user