summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-10-18 15:14:46 +0100
committer smf- <smf-@users.noreply.github.com>2016-10-18 15:17:25 +0100
commita67bcb06ff7378a28b5bceaa3f10d79b61145ef5 (patch)
tree7d4bfc6ac6936e6f6e364c1a9bbf8ab826bc1bd8 /src
parent54bcc04b00056cecb5991367d52373cc0cc35ec5 (diff)
fix disassembly window (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/mips/mips3.cpp6
-rw-r--r--src/devices/cpu/mips/mips3.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/cpu/mips/mips3.cpp b/src/devices/cpu/mips/mips3.cpp
index 306760f33d3..d146b70863d 100644
--- a/src/devices/cpu/mips/mips3.cpp
+++ b/src/devices/cpu/mips/mips3.cpp
@@ -624,9 +624,9 @@ void mips3_device::device_start()
state_add( MIPS3_WIRED, "Wired", m_core->cpr[0][COP0_Wired]).formatstr("%08X");
state_add( MIPS3_BADVADDR, "BadVAddr", m_core->cpr[0][COP0_BadVAddr]).formatstr("%08X");
- state_add( STATE_GENPC, "GENPC", m_core->pc).noshow();
- state_add( STATE_GENSP, "GENSP", m_core->r[31]).noshow();
- state_add( STATE_GENFLAGS, "GENFLAGS", m_debugger_temp).formatstr("%1s").noshow();
+ state_add( STATE_GENPCBASE, "CURPC", m_core->pc).noshow();
+ state_add( STATE_GENSP, "CURSP", m_core->r[31]).noshow();
+ state_add( STATE_GENFLAGS, "CURFLAGS", m_debugger_temp).formatstr("%1s").noshow();
m_icountptr = &m_core->icount;
}
diff --git a/src/devices/cpu/mips/mips3.h b/src/devices/cpu/mips/mips3.h
index 998c5edf585..fff9044f472 100644
--- a/src/devices/cpu/mips/mips3.h
+++ b/src/devices/cpu/mips/mips3.h
@@ -47,8 +47,8 @@ extern const device_type RM7000LE;
enum
{
- MIPS3_PC = 1,
- MIPS3_R0,
+ MIPS3_PC = STATE_GENPC,
+ MIPS3_R0 = 1,
MIPS3_R1,
MIPS3_R2,
MIPS3_R3,