Printing of traps in debugger takes into account TIA read/write address.

This commit is contained in:
Stephen Anthony 2017-08-19 20:59:06 -02:30
parent b608c5bf88
commit f280e31671
1 changed files with 1 additions and 2 deletions

View File

@ -551,8 +551,7 @@ string DebuggerParser::trapStatus(uInt32 addr, bool& enabled)
else
result += "none";
// TODO - technically, we should determine if the label is read or write
const string& l = debugger.cartDebug().getLabel(addr, true);
const string& l = debugger.cartDebug().getLabel(addr, !w);
if(l != "") {
result += " (";
result += l;