mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
[PVS-Studio] Fix extra argument in fprintf() OutputTraceLine() and bad logic in DebuggerMouseClick() bug #301
This commit is contained in:
parent
56c52beac9
commit
2381734256
@ -7382,7 +7382,7 @@ void OutputTraceLine ()
|
||||
(unsigned)regs.sp,
|
||||
(char*) sFlags
|
||||
, sDisassembly
|
||||
, sTarget
|
||||
//, sTarget // TODO: Show target?
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -8929,7 +8929,7 @@ void DebuggerMouseClick( int x, int y )
|
||||
DebugDisplay( UPDATE_DISASM );
|
||||
}
|
||||
else // AD 00 00
|
||||
if ((cx > 4) & (cx <= 13))
|
||||
if ((cx > 4) && (cx <= 13))
|
||||
{
|
||||
g_bConfigDisasmOpcodesView ^= true;
|
||||
DebugDisplay( UPDATE_DISASM );
|
||||
|
Loading…
x
Reference in New Issue
Block a user