~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/machine/atari.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
 
162
162
 **************************************************************/
163
163
 
 
164
static int atari_last;
 
165
 
164
166
void a800_handle_keyboard(running_machine *machine)
165
167
{
166
168
        const device_config *pokey = devtag_get_device(machine, "pokey");
167
 
        static int atari_last = 0xff;
168
169
        int atari_code, count, ipt, i;
169
170
        static const char *const tag[] = { "keyboard_0", "keyboard_1", "keyboard_2", "keyboard_3",
170
171
                                                                                "keyboard_4", "keyboard_5", "keyboard_6", "keyboard_7" };
248
249
void a5200_handle_keypads(running_machine *machine)
249
250
{
250
251
        const device_config *pokey = devtag_get_device(machine, "pokey");
251
 
        static int atari_last = 0xff;
252
252
        int atari_code, count, ipt, i;
253
253
        static const char *const tag[] = { "keypad_0", "keypad_1", "keypad_2", "keypad_3" };
254
254
 
314
314
{
315
315
        const device_config *pokey = devtag_get_device(machine, "pokey");
316
316
        pokey_w(pokey,15,0);
 
317
        atari_last = 0xff;
317
318
}
318
319
 
319
320