diff --git a/src/emu/debug/dvdisasm.cpp b/src/emu/debug/dvdisasm.cpp index b10df8c618f..fecb02d4998 100644 --- a/src/emu/debug/dvdisasm.cpp +++ b/src/emu/debug/dvdisasm.cpp @@ -311,7 +311,8 @@ void debug_view_disasm::generate_dasm(debug_disasm_buffer &buffer, offs_t pc) m_topleft.x = 0; m_topleft.y = 0; } - generate_from_address(buffer, m_expression.value()); + const debug_view_disasm_source &source = downcast(*m_source); + generate_from_address(buffer, m_expression.value() & source.m_space.logaddrmask()); return; }