fixed usage of uninitialized members in i80186_cpu_device (nw)

This commit is contained in:
Oliver Stöneberg 2014-04-25 10:00:49 +00:00
parent 40e727c2d8
commit d347378a9d

View File

@ -641,9 +641,13 @@ void i80186_cpu_device::device_reset()
m_dma[1].drq_delay = false;
m_dma[0].drq_state = false;
m_dma[1].drq_state = false;
m_timer[0].control = 0;
m_timer[1].control = 0;
m_timer[2].control = 0;
for(int i = 0; i < ARRAY_LENGTH(m_timer); ++i)
{
m_timer[i].control = 0;
m_timer[i].time_timer_active = 0;
m_timer[i].maxA = 0;
m_timer[i].maxB = 0;
}
}
UINT8 i80186_cpu_device::read_port_byte(UINT16 port)