summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/amis2000/amis2000op.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/amis2000/amis2000op.inc')
-rw-r--r--src/emu/cpu/amis2000/amis2000op.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/cpu/amis2000/amis2000op.inc b/src/emu/cpu/amis2000/amis2000op.inc
index 694ff86d172..85f285e66bc 100644
--- a/src/emu/cpu/amis2000/amis2000op.inc
+++ b/src/emu/cpu/amis2000/amis2000op.inc
@@ -216,7 +216,8 @@ void amis2000_base_device::op_disn()
// 0-F digits in bit order [DP]abcdefg
0x7e, 0x30, 0x6d, 0x79, 0x33, 0x5b, 0x5f, 0x70, 0x7f, 0x7b, 0x77, 0x1f, 0x4e, 0x3d, 0x4f, 0x47
};
- m_d = lut_segment_decoder[m_acc] | (m_carry ? 0x80 : 0x00);
+ const UINT8 *ptr = (m_7seg_table != NULL) ? m_7seg_table : lut_segment_decoder;
+ m_d = ptr[m_acc] | (m_carry ? 0x80 : 0x00);
d_latch_out(true);
}