diff options
author | 2016-11-21 05:57:46 +1100 | |
---|---|---|
committer | 2016-11-21 05:57:46 +1100 | |
commit | c7352f5684c6dc3a4f5db3e3514e61646c061336 (patch) | |
tree | 538ecc7414c5eee71f36d3a90ccfc44695271a46 /src/devices/cpu/apexc | |
parent | e4c856dd1ff81ed945c7edd96993f3d909be9ded (diff) |
Revert "moved debugger_access() from address space to machine & removed the anti-patterns that updated cascading address spaces. [smf]"
This reverts commit 5f05fbf61348c65204fde1e2aeed72de4cb56593.
Diffstat (limited to 'src/devices/cpu/apexc')
-rw-r--r-- | src/devices/cpu/apexc/apexc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp index 4e8f0cca659..cbd824d5978 100644 --- a/src/devices/cpu/apexc/apexc.cpp +++ b/src/devices/cpu/apexc/apexc.cpp @@ -326,9 +326,8 @@ field: X address D Function Y address D (part 2) */ #include "emu.h" -#include "apexc.h" #include "debugger.h" -#include "debug/debugcpu.h" +#include "apexc.h" const device_type APEXC = &device_creator<apexc_cpu_device>; @@ -803,7 +802,7 @@ void apexc_cpu_device::state_import(const device_state_entry &entry) } /* fetch current instruction into control register */ - m_cr = machine().debugger().cpu().read_dword(*m_program, m_pc, true); + m_cr = m_program->read_dword(m_pc); break; case APEXC_ML: |