summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/psx
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-09-27 14:24:33 +0100
committer Vas Crabb <vas@vastheman.com>2016-09-28 17:45:37 +1000
commitfd279ffffaba099464a584b52c7b5436305493e5 (patch)
tree31fdd998bc915b83a27f6ea1fbae29f662b32917 /src/devices/cpu/psx
parent1de6465b1837b2dc391dcbe90df23a9c8427c750 (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/psx')
-rw-r--r--src/devices/cpu/psx/psx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/cpu/psx/psx.cpp b/src/devices/cpu/psx/psx.cpp
index e0a1394fd07..9d4ff93c7f3 100644
--- a/src/devices/cpu/psx/psx.cpp
+++ b/src/devices/cpu/psx/psx.cpp
@@ -1820,6 +1820,7 @@ void psxcpu_device::device_start()
save_item( NAME( m_multiplier_operand2 ) );
state_add( STATE_GENPC, "GENPC", m_pc ).noshow();
+ state_add( STATE_GENPCBASE, "CURPC", m_pc ).noshow();
state_add( PSXCPU_PC, "pc", m_pc );
state_add( PSXCPU_DELAYR, "delayr", m_delayr ).formatstr("%8s");
state_add( PSXCPU_DELAYV, "delayv", m_delayv );