mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-08 01:29:42 +00:00
Clean-up for resetting syncEvents
This commit is contained in:
parent
965983d39c
commit
8a7e224383
|
@ -514,10 +514,7 @@ void MockingboardCard::Reset(const bool powerCycle) // CTRL+RESET or power-cycle
|
|||
for (int id = 0; id < kNumSyncEvents; id++)
|
||||
{
|
||||
if (g_syncEvent[id] && g_syncEvent[id]->m_active)
|
||||
{
|
||||
int syncId = (m_slot << 4) + id;
|
||||
g_SynchronousEventMgr.Remove(syncId);
|
||||
}
|
||||
g_SynchronousEventMgr.Remove(g_syncEvent[id]->m_id);
|
||||
}
|
||||
|
||||
// Not this, since no change on a CTRL+RESET or power-cycle:
|
||||
|
|
Loading…
Reference in New Issue
Block a user