diff --git a/source/Frame.cpp b/source/Frame.cpp index 40fdd55c..f33ed21d 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -2297,7 +2297,7 @@ void ResetMachineState () HD_Reset(); g_bFullSpeed = 0; // Might've hit reset in middle of InternalCpuExecute() - so beep may get (partially) muted - MemReset(); // calls CpuInitialize() + MemReset(); // calls CpuInitialize(), CNoSlotClock.Reset() PravetsReset(); if (g_CardMgr.QuerySlot(SLOT6) == CT_Disk2) dynamic_cast(g_CardMgr.GetRef(SLOT6)).Boot(); diff --git a/source/Memory.cpp b/source/Memory.cpp index 4c513f64..48b71c28 100644 --- a/source/Memory.cpp +++ b/source/Memory.cpp @@ -1801,7 +1801,7 @@ inline DWORD getRandomTime() //=========================================================================== // Called by: -// . MemInitialize() +// . MemInitialize() eg. on AppleWin start & restart (eg. h/w config changes) // . ResetMachineState() eg. Power-cycle ('Apple-Go' button) // . Snapshot_LoadState_v2() void MemReset() @@ -1956,6 +1956,8 @@ void MemReset() //Sets Caps Lock = false (Pravets 8A/C only) z80_reset(); // NB. Also called above in CpuInitialize() + + g_NoSlotClock.Reset(); // NB. Power-cycle, but not RESET signal } //===========================================================================