summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-06-08 16:28:21 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-06-08 16:28:21 +0000
commitd1e9200589119fa135ffd5801dd018ead4865c23 (patch)
tree7110a20bddf535e54c92adbeccad35ddeea1a72f /src/emu
parent34152cd57fc99cd94087889fa1ed530fe8f1b506 (diff)
Make cpu_getpreviouspc() work again, fixing btime and some other stuff.
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/devcpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/devcpu.c b/src/emu/devcpu.c
index b3a7b2b8458..01c7b29e70a 100644
--- a/src/emu/devcpu.c
+++ b/src/emu/devcpu.c
@@ -299,6 +299,7 @@ void cpu_device::device_start()
}
}
state_add(STATE_GENPC, "curpc", m_state_io).callimport().callexport().formatstr("%8s").noshow();
+ state_add(STATE_GENPCBASE, "curpcbase", m_state_io).callimport().callexport().formatstr("%8s").noshow();
const char *string = get_legacy_runtime_string(CPUINFO_STR_FLAGS);
if (string != NULL)