fixed uninitialized members in src/emu/machine/6840ptm.c (nw)

This commit is contained in:
Oliver Stöneberg 2013-02-21 19:05:27 +00:00
parent d413fbba24
commit 3db68db807

View File

@ -159,12 +159,15 @@ void ptm6840_device::device_reset()
m_t3_divisor = 1;
m_status_read_since_int = 0;
m_IRQ = 0;
m_t3_scaler = 0;
for (int i = 0; i < 3; i++)
{
m_counter[i] = 0xffff;
m_latch[i] = 0xffff;
m_output[i] = 0;
m_fired[i] = 0;
m_enabled[i] = 0;
m_mode[i] = 0;
}
}