From 1a186c8a3a16a7ce99d7df2dd217a7552b696c92 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 27 Sep 2016 14:24:33 +0100 Subject: 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] --- src/devices/cpu/i8089/i8089.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/devices/cpu/i8089/i8089.cpp') diff --git a/src/devices/cpu/i8089/i8089.cpp b/src/devices/cpu/i8089/i8089.cpp index 9394206e179..b817e5d109d 100644 --- a/src/devices/cpu/i8089/i8089.cpp +++ b/src/devices/cpu/i8089/i8089.cpp @@ -91,6 +91,7 @@ void i8089_device::device_start() state_add(CH2_PP, "CH2 PP", m_ch2->m_r[i8089_channel::PP].w).mask(0xfffff); state_add(CH2_PSW, "CH2 PSW", m_ch2->m_r[i8089_channel::PSW].w).callimport().callexport().formatstr("%12s"); state_add(STATE_GENPC, "GENPC", m_current_tp).mask(0xfffff).noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_current_tp).mask(0xfffff).noshow(); // register for save states save_item(NAME(m_sysbus)); -- cgit v1.2.3-70-g09d2