mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +00:00
Small cosmetic changes...
This commit is contained in:
parent
65536fd0fe
commit
c155ae7503
|
@ -258,7 +258,6 @@ int CZ80::Run(int numCycles)
|
||||||
unsigned int op, adr;
|
unsigned int op, adr;
|
||||||
|
|
||||||
int cycles = numCycles;
|
int cycles = numCycles;
|
||||||
|
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
if (Debug != NULL)
|
if (Debug != NULL)
|
||||||
{
|
{
|
||||||
|
@ -3771,7 +3770,7 @@ HALTExit:
|
||||||
if (Debug != NULL)
|
if (Debug != NULL)
|
||||||
{
|
{
|
||||||
Debug->CPUInactive();
|
Debug->CPUInactive();
|
||||||
lastCycles = lastCycles - cycles;
|
lastCycles -= cycles;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// Save local copies of Z80 registers back to context
|
// Save local copies of Z80 registers back to context
|
||||||
|
@ -3910,7 +3909,6 @@ void CZ80::Reset(void)
|
||||||
|
|
||||||
intLine = false;
|
intLine = false;
|
||||||
nmiTrigger = false;
|
nmiTrigger = false;
|
||||||
|
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
lastCycles = 0;
|
lastCycles = 0;
|
||||||
#endif // SUPERMODEL_DEBUGGER
|
#endif // SUPERMODEL_DEBUGGER
|
||||||
|
@ -3976,7 +3974,6 @@ void CZ80::Init(CBus *BusPtr, int (*INTF)(CZ80 *Z80))
|
||||||
INTCallback = INTF;
|
INTCallback = INTF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
void CZ80::AttachDebugger(Debugger::CZ80Debug *DebugPtr)
|
void CZ80::AttachDebugger(Debugger::CZ80Debug *DebugPtr)
|
||||||
{
|
{
|
||||||
|
@ -3999,7 +3996,6 @@ CZ80::CZ80(void)
|
||||||
{
|
{
|
||||||
INTCallback = NULL; // so we can later check to see if one has been installed
|
INTCallback = NULL; // so we can later check to see if one has been installed
|
||||||
Bus = NULL;
|
Bus = NULL;
|
||||||
|
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
Debug = NULL;
|
Debug = NULL;
|
||||||
#endif //SUPERMODEL_DEBUGGER
|
#endif //SUPERMODEL_DEBUGGER
|
||||||
|
@ -4009,7 +4005,6 @@ CZ80::~CZ80(void)
|
||||||
{
|
{
|
||||||
INTCallback = NULL;
|
INTCallback = NULL;
|
||||||
Bus = NULL;
|
Bus = NULL;
|
||||||
|
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
Debug = NULL;
|
Debug = NULL;
|
||||||
#endif //SUPERMODEL_DEBUGGER
|
#endif //SUPERMODEL_DEBUGGER
|
||||||
|
|
Loading…
Reference in a new issue