mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-24 23:29:01 +00:00
Debugger: Fixed disasm of branch targets <000 missing leading zeros. (Fixes #587)
This commit is contained in:
parent
ab75725d5b
commit
91a6227da1
@ -1493,7 +1493,7 @@ int GetDisassemblyLine ( WORD nBaseAddress, DisasmLine_t & line_ )
|
|||||||
|
|
||||||
if (! (bDisasmFormatFlags & DISASM_FORMAT_SYMBOL))
|
if (! (bDisasmFormatFlags & DISASM_FORMAT_SYMBOL))
|
||||||
{
|
{
|
||||||
pTarget = FormatAddress( nTarget, nOpbyte );
|
pTarget = FormatAddress( nTarget, (iOpmode != AM_R) ? nOpbyte : 3 ); // GH#587: For Bcc opcodes, pretend it's a 3-byte opcode to print a 16-bit target addr
|
||||||
}
|
}
|
||||||
|
|
||||||
// sprintf( sTarget, g_aOpmodes[ iOpmode ]._sFormat, pTarget );
|
// sprintf( sTarget, g_aOpmodes[ iOpmode ]._sFormat, pTarget );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user