Previous 15994 Revisions Next

r6057 Tuesday 13th October, 2009 at 07:55:57 UTC by Miodrag Milanović
[ATARI] Placed latest change back (since override by u3) [Mariusz Wojcieszek]
[src/mame/video]atari.c

src/mame/video/atari.c
r6056r6057
15121512         gtia.r.but[i] &= (button_port >> i) & 1;
15131513      }
15141514
1515      /* specify buttons not relevant to this Atari variant */
1516      for (i = button_count; i < 4; i++)
1517         gtia.r.but[i] = 1;
1515      /* button registers for xl/xe */
1516      if (button_count == 2)
1517      {
1518         gtia.r.but[2] = 1; /* not used on xl/xe */
1519         gtia.r.but[3] = 0; /* 1 if external cartridge is inserted */
1520      }
15181521
15191522      handle_keyboard(machine);
15201523

Previous 15994 Revisions Next


© 1998-2018 The MESS Team