From e1166cec8c6cd6a68ad3a0eeb96f4c44c6085fed Mon Sep 17 00:00:00 2001 From: Oliver Stöneberg Date: Sun, 26 Oct 2014 08:25:44 +0100 Subject: fixed usage of uninitialized memory in m6800_cpu_device (nw) happened with e.g. ehx20e --- src/emu/cpu/m6800/m6800.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emu/cpu/m6800/m6800.c b/src/emu/cpu/m6800/m6800.c index 437973c22ac..c68c3471628 100644 --- a/src/emu/cpu/m6800/m6800.c +++ b/src/emu/cpu/m6800/m6800.c @@ -1171,6 +1171,7 @@ void m6800_cpu_device::device_reset() OCD = 0xffff; TOD = 0xffff; m_ram_ctrl |= 0x40; + m_latch09 = 0; m_trcsr = M6800_TRCSR_TDRE; -- cgit v1.2.3