mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Don't break savestates made by HD Remasters.
This commit is contained in:
parent
998a6f6fdb
commit
3e07e88e43
@ -106,14 +106,15 @@ void DoState(PointerWrap &p)
|
||||
return;
|
||||
|
||||
if (s < 2) {
|
||||
g_MemorySize = RAM_NORMAL_SIZE;
|
||||
if (!g_RemasterMode)
|
||||
g_MemorySize = RAM_NORMAL_SIZE;
|
||||
g_PSPModel = PSP_MODEL_FAT;
|
||||
}
|
||||
else {
|
||||
p.Do(g_PSPModel);
|
||||
p.DoMarker("PSPModel");
|
||||
|
||||
g_MemorySize = g_PSPModel == PSP_MODEL_FAT ? RAM_NORMAL_SIZE : RAM_DOUBLE_SIZE;
|
||||
if (!g_RemasterMode)
|
||||
g_MemorySize = g_PSPModel == PSP_MODEL_FAT ? RAM_NORMAL_SIZE : RAM_DOUBLE_SIZE;
|
||||
}
|
||||
|
||||
p.DoArray(m_pRAM, g_MemorySize);
|
||||
|
Loading…
Reference in New Issue
Block a user