summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-11-02 18:44:51 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-11-02 18:45:09 -0400
commit8d2b0f22019f157a1e5437b35f3c23e21112236c (patch)
tree0dd55edc83cd8eb72a98c58af23b3e92296b435a
parent6571e6731ea84f09ec3c8cb29c1cd4b30b09c2a9 (diff)
m68000: Reinstate registration of SR for debug expressions
-rw-r--r--src/devices/cpu/m68000/m68kcpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/cpu/m68000/m68kcpu.cpp b/src/devices/cpu/m68000/m68kcpu.cpp
index c4199ecdf15..1c0c79ccb37 100644
--- a/src/devices/cpu/m68000/m68kcpu.cpp
+++ b/src/devices/cpu/m68000/m68kcpu.cpp
@@ -1714,6 +1714,7 @@ void m68000_base_device::define_state(void)
state_add(M68K_USP, "USP", iotemp).callimport().callexport();
if (cpu_type & MASK_020_OR_LATER)
state_add(M68K_MSP, "MSP", iotemp).callimport().callexport();
+ state_add(M68K_SR, "SR", iotemp).noshow().callimport().callexport();
for (int regnum = 0; regnum < 8; regnum++) {
state_add(M68K_D0 + regnum, string_format("D%d", regnum).c_str(), dar[regnum]);