mirror of
https://github.com/holub/mame
synced 2025-06-20 03:06:39 +03:00
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
This commit is contained in:
parent
22d0388e7d
commit
c49617fec2
@ -75,10 +75,10 @@ c64h156_device::c64h156_device(const machine_config &mconfig, const char *tag, d
|
|||||||
m_atna(0),
|
m_atna(0),
|
||||||
m_period(attotime::from_hz(clock))
|
m_period(attotime::from_hz(clock))
|
||||||
{
|
{
|
||||||
|
memset(&cur_live, 0x00, sizeof(cur_live));
|
||||||
cur_live.tm = attotime::never;
|
cur_live.tm = attotime::never;
|
||||||
cur_live.state = IDLE;
|
cur_live.state = IDLE;
|
||||||
cur_live.next_state = -1;
|
cur_live.next_state = -1;
|
||||||
cur_live.write_position = 0;
|
|
||||||
cur_live.write_start_time = attotime::never;
|
cur_live.write_start_time = attotime::never;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user