mirror of
https://github.com/holub/mame
synced 2025-07-07 19:03:29 +03:00
Fix watchpoint view for address-shifted spaces
This commit is contained in:
parent
1918f78f13
commit
41a6e6222e
@ -326,9 +326,9 @@ void debug_view_watchpoints::view_update()
|
||||
pad_ostream_to_length(linebuf, tableBreaks[2]);
|
||||
linebuf << wp->space().name();
|
||||
pad_ostream_to_length(linebuf, tableBreaks[3]);
|
||||
util::stream_format(linebuf, "%0*X", wp->space().addrchars(), wp->space().byte_to_address(wp->address()));
|
||||
util::stream_format(linebuf, "%0*X", wp->space().addrchars(), wp->address());
|
||||
linebuf.put('-');
|
||||
util::stream_format(linebuf, "%0*X", wp->space().addrchars(), wp->space().byte_to_address_end(wp->address() + wp->length()) - 1);
|
||||
util::stream_format(linebuf, "%0*X", wp->space().addrchars(), wp->address() + wp->length() - 1);
|
||||
pad_ostream_to_length(linebuf, tableBreaks[4]);
|
||||
linebuf << types[wp->type() & 3];
|
||||
pad_ostream_to_length(linebuf, tableBreaks[5]);
|
||||
|
Loading…
Reference in New Issue
Block a user