mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-29 08:30:04 +00:00
Debugger: Cleanup formatting
This commit is contained in:
parent
db5b668eec
commit
48f4a03e6c
@ -8523,31 +8523,31 @@ static void CheckBreakOpcode ( int iOpcode )
|
|||||||
int iOpcodeType = AM_1;
|
int iOpcodeType = AM_1;
|
||||||
switch (g_aOpcodes[iOpcode].nAddressMode)
|
switch (g_aOpcodes[iOpcode].nAddressMode)
|
||||||
{
|
{
|
||||||
case AM_1: // Invalid 1 Byte
|
case AM_1: // Invalid 1 Byte
|
||||||
case AM_IMPLIED:
|
case AM_IMPLIED:
|
||||||
iOpcodeType = AM_1;
|
iOpcodeType = AM_1;
|
||||||
break;
|
break;
|
||||||
case AM_2: // Invalid 2 Bytes
|
case AM_2: // Invalid 2 Bytes
|
||||||
case AM_M: // 4 #Immediate
|
case AM_M: // 4 #Immediate
|
||||||
case AM_Z: // 6 Zeropage
|
case AM_Z: // 6 Zeropage
|
||||||
case AM_ZX: // 9 Zeropage, X
|
case AM_ZX: // 9 Zeropage, X
|
||||||
case AM_ZY: // 10 Zeropage, Y
|
case AM_ZY: // 10 Zeropage, Y
|
||||||
case AM_R: // 11 Relative
|
case AM_R: // 11 Relative
|
||||||
case AM_IZX: // 12 Indexed (Zeropage Indirect, X)
|
case AM_IZX: // 12 Indexed (Zeropage Indirect, X)
|
||||||
case AM_NZY: // 14 Indirect (Zeropage) Indexed, Y
|
case AM_NZY: // 14 Indirect (Zeropage) Indexed, Y
|
||||||
case AM_NZ: // 15 Indirect (Zeropage)
|
case AM_NZ: // 15 Indirect (Zeropage)
|
||||||
iOpcodeType = AM_2;
|
iOpcodeType = AM_2;
|
||||||
break;
|
break;
|
||||||
case AM_3: // Invalid 3 Bytes
|
case AM_3: // Invalid 3 Bytes
|
||||||
case AM_A: // 5 $Absolute
|
case AM_A: // 5 $Absolute
|
||||||
case AM_AX: // 7 Absolute, X
|
case AM_AX: // 7 Absolute, X
|
||||||
case AM_AY: // 8 Absolute, Y
|
case AM_AY: // 8 Absolute, Y
|
||||||
case AM_IAX: // 13 Indexed (Absolute Indirect, X)
|
case AM_IAX: // 13 Indexed (Absolute Indirect, X)
|
||||||
case AM_NA: // 16 Indirect (Absolute) i.e. JMP
|
case AM_NA: // 16 Indirect (Absolute) i.e. JMP
|
||||||
iOpcodeType = AM_3;
|
iOpcodeType = AM_3;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
_ASSERT(0);
|
_ASSERT(0);
|
||||||
}
|
}
|
||||||
g_bDebugBreakpointHit |= IsDebugBreakOnInvalid(iOpcodeType) ? BP_HIT_INVALID : 0;
|
g_bDebugBreakpointHit |= IsDebugBreakOnInvalid(iOpcodeType) ? BP_HIT_INVALID : 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user