Pravets refactor: move all specialisations into new Pravets class. (PR #914)

Mainly for keyboard & printer specialisations.
This commit is contained in:
TomCh
2021-01-17 10:48:06 +00:00
committed by GitHub
parent fc3a0f57ce
commit daa0675694
15 changed files with 288 additions and 269 deletions
+2 -2
View File
@@ -530,7 +530,7 @@ void ResetMachineState()
g_bFullSpeed = 0; // Might've hit reset in middle of InternalCpuExecute() - so beep may get (partially) muted
MemReset(); // calls CpuInitialize(), CNoSlotClock.Reset()
PravetsReset();
GetPravets().Reset();
if (GetCardMgr().QuerySlot(SLOT6) == CT_Disk2)
dynamic_cast<Disk2InterfaceCard&>(GetCardMgr().GetRef(SLOT6)).Boot();
GetVideo().VideoResetState();
@@ -578,7 +578,7 @@ void CtrlReset()
MemAnnunciatorReset();
}
PravetsReset();
GetPravets().Reset();
GetCardMgr().GetDisk2CardMgr().Reset();
HD_Reset();
KeybReset();