summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-02-21 19:20:25 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-02-21 19:20:25 +0000
commitefcb34f14dd0400acca39fa1268ca87ee3a684fa (patch)
tree79f894f729c2fb2a31f37573fdf6e9c61fd1b39b /src
parenteed3b87839cee9c14c6f1b48915fb777b4abe6aa (diff)
fixed uninitialized members in src/emu/machine/n68681.c (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/machine/n68681.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/emu/machine/n68681.c b/src/emu/machine/n68681.c
index e8d01d700c6..1baed11500a 100644
--- a/src/emu/machine/n68681.c
+++ b/src/emu/machine/n68681.c
@@ -492,7 +492,12 @@ void duartn68681_device::set_ISR_bits(int mask)
duart68681_channel::duart68681_channel(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DUART68681CHANNEL, "DUART 68681 channel", tag, owner, clock),
- device_serial_interface(mconfig, *this)
+ device_serial_interface(mconfig, *this),
+ MR1(0),
+ MR2(0),
+ SR(0),
+ rx_fifo_num(0),
+ tx_enabled(0)
{
}