mirror of
https://github.com/holub/mame
synced 2025-04-27 10:43:07 +03:00
fixed usage of uninitialized member in pit8253_device (nw)
This commit is contained in:
parent
3d0f4ef56f
commit
ec5d1d8d65
@ -60,6 +60,7 @@ pit8253_device::pit8253_device(const machine_config &mconfig, const char *tag, d
|
|||||||
{
|
{
|
||||||
m_timers[i].gate = 1;
|
m_timers[i].gate = 1;
|
||||||
m_timers[i].phase = 0;
|
m_timers[i].phase = 0;
|
||||||
|
m_timers[i].clock = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,6 +77,7 @@ pit8253_device::pit8253_device(const machine_config &mconfig, device_type type,
|
|||||||
{
|
{
|
||||||
m_timers[i].gate = 1;
|
m_timers[i].gate = 1;
|
||||||
m_timers[i].phase = 0;
|
m_timers[i].phase = 0;
|
||||||
|
m_timers[i].clock = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user