mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-01-22 14:17:03 +00:00
Improved fix for 80eb330
. During init: only need to call IoHandlerCardsOut() when loading save-state . MemInitialize() -> MemReset() -> ResetPaging() which always inits memmode
This commit is contained in:
@@ -400,7 +400,7 @@ static void Snapshot_LoadState_v2(void)
|
||||
m_ConfigNew.m_bEnableHDD = false;
|
||||
//m_ConfigNew.m_bEnableTheFreezesF8Rom = ?; // todo: when support saving config
|
||||
|
||||
MemReset(); // Also calls CpuInitialize()
|
||||
MemReset(); // Also calls CpuInitialize(), CNoSlotClock.Reset()
|
||||
PravetsReset();
|
||||
|
||||
if (g_CardMgr.IsSSCInstalled())
|
||||
@@ -455,7 +455,7 @@ static void Snapshot_LoadState_v2(void)
|
||||
MemInitializeCustomROM();
|
||||
MemInitializeCustomF8ROM();
|
||||
MemInitializeIO();
|
||||
MemInitializeCardExpansionRomFromSnapshot();
|
||||
MemInitializeCardSlotAndExpansionRomFromSnapshot();
|
||||
|
||||
MemUpdatePaging(TRUE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user