mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Load the model from the savestate before deciding the memory size.
This commit is contained in:
1 parent
ba31e18060
commit
998a6f6fdb
1 file changed
+2
-1
+2
-1
@@ -110,9 +110,10 @@ void DoState(PointerWrap &p)
|
||||
g_PSPModel = PSP_MODEL_FAT;
|
||||
}
|
||||
else {
|
||||
g_MemorySize = g_PSPModel == PSP_MODEL_FAT ? RAM_NORMAL_SIZE : RAM_DOUBLE_SIZE;
|
||||
p.Do(g_PSPModel);
|
||||
p.DoMarker("PSPModel");
|
||||
|
||||
g_MemorySize = g_PSPModel == PSP_MODEL_FAT ? RAM_NORMAL_SIZE : RAM_DOUBLE_SIZE;
|
||||
}
|
||||
|
||||
p.DoArray(m_pRAM, g_MemorySize);
|
||||
|
||||
Reference in new issue
Block a user