mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-07-24 10:24:09 +00:00
Debugger: fixed warning (and a typo)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user