mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-29 08:30:04 +00:00
Debugger: fixed warning (and a typo)
This commit is contained in:
parent
4063611e71
commit
ccb4582bf9
@ -392,8 +392,7 @@ int GetDisassemblyLine(WORD nBaseAddress, DisasmLine_t& line_)
|
||||
{
|
||||
if (iOpmode == AM_M)
|
||||
{
|
||||
//sTarget = StrFormat( g_aOpmodes[ iOpmode ].m_sFormat, (unsigned)nTarget );
|
||||
strncpy_s(line_.sTarget, ByteToHexStr(nTarget).c_str(), _TRUNCATE);
|
||||
strncpy_s(line_.sTarget, ByteToHexStr((BYTE)nTarget).c_str(), _TRUNCATE);
|
||||
|
||||
if (nTarget == 0)
|
||||
line_.sImmediateSignedDec[0] = 0; // nothing
|
||||
|
@ -341,7 +341,7 @@ Update_t CmdDisasmDataList (int nArgs)
|
||||
{
|
||||
bool hasSymbol = pData->sSymbol[0] != '\0';
|
||||
|
||||
// <smbol> <type> <start>:<end>
|
||||
// <symbol> <type> <start>:<end>
|
||||
// `TEST `300`:`320
|
||||
ConsolePrintFormat( CHC_CATEGORY "%s %s%*s " CHC_ADDRESS "%04X" CHC_ARG_SEP ":" CHC_ADDRESS "%04X"
|
||||
, g_aNopcodeTypes[ pData->eElementType ]
|
||||
|
Loading…
Reference in New Issue
Block a user