summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-10-28 15:48:32 +0100
committer smf- <smf-@users.noreply.github.com>2016-10-28 15:48:32 +0100
commitb236d2196d52b200a759cfb936e219b6f5067d1d (patch)
tree47a5f9887dcb0ed8bf20157e6b6a8b8725476359
parent6fe9924c50c4b56dbf7a7d057515295caf7e6f3d (diff)
fixed ML state mask (nw)
-rw-r--r--src/devices/cpu/apexc/apexc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp
index ef389dd4f85..cbd824d5978 100644
--- a/src/devices/cpu/apexc/apexc.cpp
+++ b/src/devices/cpu/apexc/apexc.cpp
@@ -770,8 +770,8 @@ void apexc_cpu_device::device_start()
state_add( APEXC_CR, "CR", m_cr ).formatstr("%08X");
state_add( APEXC_A, "A", m_a ).formatstr("%08X");
state_add( APEXC_R, "R", m_r ).formatstr("%08X");
- state_add( APEXC_ML, "ML", m_ml ).mask(0xfff).callimport().formatstr("%03X");
- state_add( APEXC_WS, "WS", m_working_store ).callimport().mask(0xf);
+ state_add( APEXC_ML, "ML", m_ml ).mask(0x3ff).callimport().formatstr("%03X");
+ state_add( APEXC_WS, "WS", m_working_store ).mask(0xf).callimport();
state_add( APEXC_STATE, "CPU state", m_running ).mask(0x01);
state_add( STATE_GENPC, "PC", m_pc ).mask(0x7ffc).callimport().formatstr("%04X");
state_add( STATE_GENPCBASE, "CURPC", m_pc ).mask(0x7ffc).callimport().noshow();