mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Debugger: 2.9.1.9 Fixed: Immediate #0 was showing '#' prefix but not showing zero for the signed decimal value. Changed to show the signed decimal value only if non zero.
This commit is contained in:
@@ -1794,11 +1794,15 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
|
||||
if (line.bTargetImmediate)
|
||||
{
|
||||
linerect.left = (int) aTabs[ TS_IMMEDIATE ];
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_OPERATOR ));
|
||||
PrintTextCursorX( "#", linerect );
|
||||
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_DISASM_SINT8 ));
|
||||
PrintTextCursorX( line.sImmediateSignedDec, linerect);
|
||||
if( line.nImmediate )
|
||||
{
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_OPERATOR ));
|
||||
PrintTextCursorX( "#", linerect );
|
||||
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_DISASM_SINT8 ));
|
||||
PrintTextCursorX( line.sImmediateSignedDec, linerect);
|
||||
}
|
||||
}
|
||||
|
||||
// Immediate Char
|
||||
|
||||
Reference in New Issue
Block a user