summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <oliverst@online.de>2014-10-26 08:18:33 +0100
committer Oliver Stöneberg <oliverst@online.de>2014-10-26 08:18:33 +0100
commitc49617fec23bf8380e92095b6dd962264d61dccd (patch)
treedcbe7799602761e3bd350d188817e6ad1c1954df
parent22d0388e7d2d673572ca998a681891168f81c745 (diff)
fixed usage of uninitialized members in c64h156_device (nw)
was actually used inside base_c1541_device::via1_pb_r() with e.g. edu -cart batman
-rw-r--r--src/emu/machine/64h156.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/64h156.c b/src/emu/machine/64h156.c
index a6031558c09..7b87e4d2158 100644
--- a/src/emu/machine/64h156.c
+++ b/src/emu/machine/64h156.c
@@ -75,10 +75,10 @@ c64h156_device::c64h156_device(const machine_config &mconfig, const char *tag, d
m_atna(0),
m_period(attotime::from_hz(clock))
{
+ memset(&cur_live, 0x00, sizeof(cur_live));
cur_live.tm = attotime::never;
cur_live.state = IDLE;
cur_live.next_state = -1;
- cur_live.write_position = 0;
cur_live.write_start_time = attotime::never;
}