summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-10-05 11:24:01 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-10-05 11:24:01 -0400
commit18d89a1d04a4667b6b8e4ff6796364830393118a (patch)
tree5ebe3fd7e42e4e530f23071bcbbb001583fd628d /src/emu/debug
parent788eac6caa6ce16335dca2e121db088df76105bd (diff)
Fix pcatmem command (probably regressed in 360d3a5950f0649270822e2db1ea25028eabd18b)
Diffstat (limited to 'src/emu/debug')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index b7bea75503d..8bde2af72ea 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -3852,7 +3852,7 @@ void debugger_commands::execute_pcatmem(int spacenum, const std::vector<std::str
}
// Recover the pc & print
- const offs_t result = space->device().debug()->track_mem_pc_from_space_address_data(spacenum, address, data);
+ const offs_t result = space->device().debug()->track_mem_pc_from_space_address_data(space->spacenum(), address, data);
if (result != (offs_t)(-1))
m_console.printf("%02x\n", result);
else