From a67bcb06ff7378a28b5bceaa3f10d79b61145ef5 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 18 Oct 2016 15:14:46 +0100 Subject: [PATCH] fix disassembly window (nw) --- src/devices/cpu/mips/mips3.cpp | 6 +++--- src/devices/cpu/mips/mips3.h | 4 ++-- 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,