mirror of
https://github.com/holub/mame
synced 2025-07-06 18:39:28 +03:00
fixed uninitialized members in src/emu/machine/8237dma.c (nw)
This commit is contained in:
parent
c3c6432972
commit
1022619755
@ -137,10 +137,12 @@ void i8237_device::device_reset()
|
|||||||
m_mask = 0x00;
|
m_mask = 0x00;
|
||||||
m_hrq = 0;
|
m_hrq = 0;
|
||||||
m_hlda = 0;
|
m_hlda = 0;
|
||||||
m_chan[0].m_mode = 0;
|
for(int i = 0; i < 4; ++i)
|
||||||
m_chan[1].m_mode = 0;
|
{
|
||||||
m_chan[2].m_mode = 0;
|
m_chan[i].m_mode = 0;
|
||||||
m_chan[3].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()));
|
m_timer->adjust(attotime::from_hz(clock()), 0, attotime::from_hz(clock()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user