Previous 199869 Revisions Next

r41434 Wednesday 28th October, 2015 at 18:21:08 UTC by Miodrag Milanović
fix some strncmp (nw)
[src/mame/drivers]cps2.c

trunk/src/mame/drivers/cps2.c
r249945r249946
746746         m_audiocpu->set_input_line(INPUT_LINE_RESET, (data & 0x0008) ? CLEAR_LINE : ASSERT_LINE);
747747
748748      coin_counter_w(machine(), 0, data & 0x0001);
749      if ((strncmp(machine().system().name, "pzloop2", 8) == 0) ||
749      if ((strncmp(machine().system().name, "pzloop2", 7) == 0) ||
750750         (strncmp(machine().system().name, "pzloop2j", 8) == 0) ||
751         (strncmp(machine().system().name, "pzloop2jr1", 8) == 0))
751         (strncmp(machine().system().name, "pzloop2jr1", 10) == 0))
752752      {
753753         // Puzz Loop 2 uses coin counter 2 input to switch between stick and paddle controls
754754         m_readpaddle = data & 0x0002;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team