fixed uninitialized members in src/emu/machine/8237dma.c (nw)

This commit is contained in:
Oliver Stöneberg 2013-02-23 09:05:39 +00:00
parent c3c6432972
commit 1022619755

View File

@ -137,10 +137,12 @@ void i8237_device::device_reset()
m_mask = 0x00;
m_hrq = 0;
m_hlda = 0;
m_chan[0].m_mode = 0;
m_chan[1].m_mode = 0;
m_chan[2].m_mode = 0;
m_chan[3].m_mode = 0;
for(int i = 0; i < 4; ++i)
{
m_chan[i].m_mode = 0;
m_chan[i].m_address = 0;
m_chan[i].m_count = 0;
}
m_timer->adjust(attotime::from_hz(clock()), 0, attotime::from_hz(clock()));
}