From ba8ba29bb588e99d63208f5e06bcdbea8fae91da Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 15 Apr 2014 17:08:23 +0000 Subject: [PATCH] MOS 6551 Fixed uninitialised variable that could prevent transmit irq from being generated after reset. [smf] --- src/emu/machine/mos6551.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emu/machine/mos6551.c b/src/emu/machine/mos6551.c index 4aae612659e..2871756eee3 100644 --- a/src/emu/machine/mos6551.c +++ b/src/emu/machine/mos6551.c @@ -34,7 +34,9 @@ mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, d m_dsr(1), m_dcd(1), m_rxd(1), - m_tx_output(OUTPUT_MARK) + m_tx_state(STATE_START), + m_tx_output(OUTPUT_MARK), + m_tx_counter(0) { }