mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Fix some missing things / bugs in save states.
This commit is contained in:
1 parent
ec080eb2b6
commit
0edbcdc955
7 files changed
+42
-23
No files matched your search
@@ -55,6 +55,12 @@ struct NativeFPL
|
||||
//FPL - Fixed Length Dynamic Memory Pool - every item has the same length
|
||||
struct FPL : public KernelObject
|
||||
{
|
||||
FPL() : blocks(NULL) {}
|
||||
~FPL() {
|
||||
if (blocks != NULL) {
|
||||
delete [] blocks;
|
||||
}
|
||||
}
|
||||
const char *GetName() {return nf.name;}
|
||||
const char *GetTypeName() {return "FPL";}
|
||||
static u32 GetMissingErrorCode() { return SCE_KERNEL_ERROR_UNKNOWN_FPLID; }
|
||||
@@ -400,7 +406,7 @@ public:
|
||||
virtual void DoState(PointerWrap &p)
|
||||
{
|
||||
p.Do(address);
|
||||
p.Do(name);
|
||||
p.DoArray(name, sizeof(name));
|
||||
p.DoMarker("PMB");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user