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,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;
|
||||
|
||||
Reference in New Issue
Block a user