Previous 199869 Revisions Next

r21362 Saturday 23rd February, 2013 at 09:05:39 UTC by Oliver Stöneberg
fixed uninitialized members in src/emu/machine/8237dma.c (nw)
[src/emu/machine]8237dma.c

trunk/src/emu/machine/8237dma.c
r21361r21362
137137   m_mask = 0x00;
138138   m_hrq = 0;
139139   m_hlda = 0;
140   m_chan[0].m_mode = 0;
141   m_chan[1].m_mode = 0;
142   m_chan[2].m_mode = 0;
143   m_chan[3].m_mode = 0;
140   for(int i = 0; i < 4; ++i)
141   {
142      m_chan[i].m_mode = 0;
143      m_chan[i].m_address = 0;
144      m_chan[i].m_count = 0;
145   }
144146
145147   m_timer->adjust(attotime::from_hz(clock()), 0, attotime::from_hz(clock()));
146148}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team