From ee88522aba426bf0ef7e314c8b0a4a3d27cfb647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Thu, 24 Apr 2014 04:25:00 +0000 Subject: [PATCH] fixed usage of uninitialized members in mos6551_device (nw) --- src/emu/machine/mos6551.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/emu/machine/mos6551.c b/src/emu/machine/mos6551.c index 7bb61735eec..778ca20206e 100644 --- a/src/emu/machine/mos6551.c +++ b/src/emu/machine/mos6551.c @@ -24,6 +24,8 @@ mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, d m_rts_handler(*this), m_dtr_handler(*this), m_control(0), + m_tdr(0), + m_irq_state(0), m_irq(0), m_txd(0), m_rxc(0), @@ -35,8 +37,10 @@ mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, d m_dsr(1), m_dcd(1), m_rxd(1), + m_rx_clock(0), m_tx_state(STATE_START), m_tx_output(OUTPUT_MARK), + m_tx_clock(0), m_tx_counter(0) { }