mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix a crash with FPL objects in save states.
This commit is contained in:
parent
df627f7738
commit
e03044b241
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ struct FPL : public KernelObject
|
|||
virtual void DoState(PointerWrap &p)
|
||||
{
|
||||
p.Do(nf);
|
||||
if (p.mode == p.MODE_READ)
|
||||
blocks = new bool[nf.numBlocks];
|
||||
p.DoArray(blocks, nf.numBlocks);
|
||||
p.Do(address);
|
||||
p.DoMarker("FPL");
|
||||
|
|
Loading…
Add table
Reference in a new issue