Fix pcatmem command (probably regressed in 360d3a5950)

This commit is contained in:
AJR 2021-10-05 11:24:01 -04:00
parent 788eac6caa
commit 18d89a1d04

View File

@ -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