diff options
author | 2016-09-27 14:24:33 +0100 | |
---|---|---|
committer | 2016-09-27 14:26:27 +0100 | |
commit | 1a186c8a3a16a7ce99d7df2dd217a7552b696c92 (patch) | |
tree | db6f7a7442ccc924049e3354c8cded6d62071ecd /src/devices/cpu/z180 | |
parent | 3957d89e4466d87f86a42597a49db12a7c040520 (diff) |
Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for everything in the debugger, which allows interruptible cpu's to work properly. [smf]
Diffstat (limited to 'src/devices/cpu/z180')
-rw-r--r-- | src/devices/cpu/z180/z180.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/z180/z180.h | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/cpu/z180/z180.cpp b/src/devices/cpu/z180/z180.cpp index 8cff26069c0..c904ea33eec 100644 --- a/src/devices/cpu/z180/z180.cpp +++ b/src/devices/cpu/z180/z180.cpp @@ -1973,7 +1973,7 @@ void z180_device::device_start() { state_add(Z180_PC, "PC", m_PC.w.l); state_add(STATE_GENPC, "GENPC", _PCD).noshow(); - state_add(STATE_GENPCBASE, "GENPCBASE", m_PREPC.w.l).noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_PREPC.w.l).noshow(); state_add(Z180_SP, "SP", _SPD); state_add(STATE_GENSP, "GENSP", m_SP.w.l).noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_AF.b.l).noshow().formatstr("%8s"); diff --git a/src/devices/cpu/z180/z180.h b/src/devices/cpu/z180/z180.h index 87980e29f4e..36b260e7a6f 100644 --- a/src/devices/cpu/z180/z180.h +++ b/src/devices/cpu/z180/z180.h @@ -103,11 +103,7 @@ enum Z180_IO3D, /* 3d reserved */ Z180_OMCR, /* 3e operation mode control register */ Z180_IOCR, /* 3f I/O control register */ - Z180_IOLINES, /* read/write I/O lines */ - - Z180_GENPC = STATE_GENPC, - Z180_GENSP = STATE_GENSP, - Z180_GENPCBASE = STATE_GENPCBASE + Z180_IOLINES /* read/write I/O lines */ }; enum |