mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +00:00
Fixed warnings and whitespace
This commit is contained in:
parent
f0488a3c94
commit
bd09b3b68b
|
@ -254,8 +254,12 @@ int CZ80::Run(int numCycles)
|
||||||
unsigned int IX = ix;
|
unsigned int IX = ix;
|
||||||
unsigned int IY = iy;
|
unsigned int IY = iy;
|
||||||
#endif
|
#endif
|
||||||
unsigned int temp, acu, sum, cbits;
|
unsigned int temp = 0;
|
||||||
unsigned int op, adr;
|
unsigned int acu = 0;
|
||||||
|
unsigned int sum = 0;
|
||||||
|
unsigned int cbits = 0;
|
||||||
|
unsigned int op = 0;
|
||||||
|
unsigned int adr = 0;
|
||||||
|
|
||||||
int cycles = numCycles;
|
int cycles = numCycles;
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
|
@ -3968,7 +3972,7 @@ void CZ80::LoadState(CBlockFile *StateFile, const char *name)
|
||||||
StateFile->Read(&intLine, sizeof(intLine));
|
StateFile->Read(&intLine, sizeof(intLine));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CZ80::Init(CBus *BusPtr, int (*INTF)(CZ80 *Z80))
|
void mCZ80::Init(CBus *BusPtr, int (*INTF)(CZ80 *Z80))
|
||||||
{
|
{
|
||||||
Bus = BusPtr;
|
Bus = BusPtr;
|
||||||
INTCallback = INTF;
|
INTCallback = INTF;
|
||||||
|
|
|
@ -99,7 +99,9 @@
|
||||||
#define Z80_REG16_DE_ 11
|
#define Z80_REG16_DE_ 11
|
||||||
#define Z80_REG16_HL_ 12
|
#define Z80_REG16_HL_ 12
|
||||||
|
|
||||||
class Debugger::CZ80Debug;
|
namespace Debugger {
|
||||||
|
class CZ80Debug;
|
||||||
|
}
|
||||||
#endif // SUPERMODEL_DEBUGGER
|
#endif // SUPERMODEL_DEBUGGER
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -330,7 +332,6 @@ private:
|
||||||
|
|
||||||
#ifdef SUPERMODEL_DEBUGGER
|
#ifdef SUPERMODEL_DEBUGGER
|
||||||
int lastCycles;
|
int lastCycles;
|
||||||
|
|
||||||
Debugger::CZ80Debug *Debug;
|
Debugger::CZ80Debug *Debug;
|
||||||
#endif // SUPERMODEL_DEBUGGER
|
#endif // SUPERMODEL_DEBUGGER
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue