Previous 199869 Revisions Next

r26557 Sunday 8th December, 2013 at 23:32:56 UTC by hap
oeps
[src/mame/drivers]mw18w.c

trunk/src/mame/drivers/mw18w.c
r26556r26557
226226   {
227227      for (int row = 0; row < 5; row++)
228228      {
229         if (m_lamps_on[row][col]) m_lamps_on[row][col]--;
229         if (m_lamps_on[col][row]) m_lamps_on[col][row]--;
230230         output_set_lamp_value(col * 10 + row, m_lamps_on[col][row] != 0);
231231      }
232232   }
r26556r26557
291291   // init lamp matrix
292292   for (int row = 0; row < 5; row++)
293293      for (int col = 0; col < 8; col++)
294         m_lamps_on[row][col] = 0;
294         m_lamps_on[col][row] = 0;
295295   
296296   save_item(NAME(m_lamps_on));
297297}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team