summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-10-08 18:39:00 +0100
committer smf- <smf-@users.noreply.github.com>2016-10-08 18:39:47 +0100
commit84f4180a43bb3034537651a42e4979bdaaa45b3b (patch)
tree66bbb2fe8c4af0caee42851b6562109881ef41c3 /src/emu
parent48ff916037e5cbeaf69d9c5dabc8287779a1861b (diff)
Fix disassembly window updating when you set pc/curpc on 68000 and z80. Remove masking from sh2 curpc to be consistent with old versions and the pc passed by the interpreter to the hook to be consistent with the drc. (nw)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/distate.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/distate.cpp b/src/emu/distate.cpp
index c7444a39a65..a4607fb6885 100644
--- a/src/emu/distate.cpp
+++ b/src/emu/distate.cpp
@@ -76,9 +76,7 @@ device_state_entry::device_state_entry(int index, const char *symbol, void *data
format_from_mask();
// override well-known symbols
- if (index == STATE_GENPC)
- m_symbol.assign("GENPC");
- else if (index == STATE_GENPCBASE)
+ if (index == STATE_GENPCBASE)
m_symbol.assign("CURPC");
else if (index == STATE_GENSP)
m_symbol.assign("CURSP");