summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/dvmemory.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-08-12 02:11:58 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-08-12 02:11:58 -0400
commita459faa90fceb95cdd6af60276d48f949f115fb3 (patch)
treefda7d121d3507de079511da07cea68686fe57077 /src/emu/debug/dvmemory.cpp
parent33983bf43e60e26361a07bd8922860bbf311fda5 (diff)
Emulate V33/V53 expanded addressing mode, including BRKXA and RETXA instructions
Mask address expressions correctly in debug memory view when using physical addresses beyond logical limits
Diffstat (limited to 'src/emu/debug/dvmemory.cpp')
-rw-r--r--src/emu/debug/dvmemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/dvmemory.cpp b/src/emu/debug/dvmemory.cpp
index 1d735293b6e..c81aa45c20e 100644
--- a/src/emu/debug/dvmemory.cpp
+++ b/src/emu/debug/dvmemory.cpp
@@ -635,7 +635,7 @@ bool debug_view_memory::needs_recompute()
const debug_view_memory_source &source = downcast<const debug_view_memory_source &>(*m_source);
offs_t val = m_expression.value();
if (source.m_space)
- val = source.m_space->address_to_byte(val & source.m_space->logaddrmask());
+ val = source.m_space->address_to_byte(val & (m_no_translation ? source.m_space->addrmask() : source.m_space->logaddrmask()));
recompute = true;
m_topleft.y = (val - m_byte_offset) / m_bytes_per_row;
m_topleft.y = std::max(m_topleft.y, 0);