Fix loading save states from pre-dynarec, need to use SFARRAYN with old name

This commit is contained in:
Zachary Cook 2020-01-30 01:00:40 -05:00
parent 9c14e84954
commit 55ced79170
2 changed files with 2 additions and 2 deletions

View File

@ -2405,7 +2405,7 @@ int StateAction(StateMem *sm, int load, int data_only)
{
SFVAR(CD_TrayOpen),
SFVAR(CD_SelectedDisc),
SFARRAY(MainRAM->data8, 1024 * 2048),
SFARRAYN(MainRAM->data8, 1024 * 2048, "MainRAM.data8"),
SFARRAY32(SysControl.Regs, 9),
SFVAR(PSX_PRNG.lcgo),
SFVAR(PSX_PRNG.x),

View File

@ -239,7 +239,7 @@ int PS_CPU::StateAction(StateMem *sm, const unsigned load, const bool data_only)
SFVAR(ReadAbsorbWhich),
SFVAR(ReadFudge),
SFARRAY(ScratchRAM->data8, 1024),
SFARRAYN(ScratchRAM->data8, 1024, "ScratchRAM.data8"),
SFEND
};