summaryrefslogtreecommitdiffstats
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-03-11 15:36:20 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-03-11 15:36:20 -0400
commit2f13e9b3195a05e36514abf20fd2a43172062a70 (patch)
tree4d528b2abfef24c8da060749c4966dbca000bb86 /src/emu/debug/debugcmd.cpp
parent0829003662309e823123f30a4359a889541459d6 (diff)
Fix output of wplist debug command for address-shifted spaces
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index b0e9053dfd4..893b7cf9ae8 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -1416,8 +1416,8 @@ void debugger_commands::execute_wplist(int ref, const std::vector<std::string> &
for (device_debug::watchpoint *wp = device.debug()->watchpoint_first(spacenum); wp != nullptr; wp = wp->next())
{
buffer = string_format("%c%4X @ %0*X-%0*X %s", wp->enabled() ? ' ' : 'D', wp->index(),
- wp->space().addrchars(), wp->space().byte_to_address(wp->address()),
- wp->space().addrchars(), wp->space().byte_to_address_end(wp->address() + wp->length()) - 1,
+ wp->space().addrchars(), wp->address(),
+ wp->space().addrchars(), wp->address() + wp->length() - 1,
types[wp->type() & 3]);
if (std::string(wp->condition()).compare("1") != 0)
buffer.append(string_format(" if %s", wp->condition()));