mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-17 00:30:04 +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:
parent
61d6ef58ee
commit
6b11e24a28
@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#define ALLOW_INPUT_LOWERCASE 1
|
||||
|
||||
// See /docs/Debugger_Changelog.txt for full details
|
||||
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,8);
|
||||
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,9);
|
||||
|
||||
|
||||
// Public _________________________________________________________________________________________
|
||||
|
@ -1794,12 +1794,16 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
|
||||
if (line.bTargetImmediate)
|
||||
{
|
||||
linerect.left = (int) aTabs[ TS_IMMEDIATE ];
|
||||
|
||||
if( line.nImmediate )
|
||||
{
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_OPERATOR ));
|
||||
PrintTextCursorX( "#", linerect );
|
||||
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_DISASM_SINT8 ));
|
||||
PrintTextCursorX( line.sImmediateSignedDec, linerect);
|
||||
}
|
||||
}
|
||||
|
||||
// Immediate Char
|
||||
if (bDisasmFormatFlags & DISASM_FORMAT_CHAR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user