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

« back to all changes in this revision

Viewing changes to src/mame/drivers/bingoc.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:
61
61
{
62
62
        static UINT8 x;
63
63
 
64
 
        if(input_code_pressed_once(KEYCODE_Z))
 
64
        if(input_code_pressed_once(space->machine, KEYCODE_Z))
65
65
                x++;
66
66
 
67
 
        if(input_code_pressed_once(KEYCODE_X))
 
67
        if(input_code_pressed_once(space->machine, KEYCODE_X))
68
68
                x--;
69
69
 
70
 
        if(input_code_pressed_once(KEYCODE_A))
 
70
        if(input_code_pressed_once(space->machine, KEYCODE_A))
71
71
                return 0xff;
72
72
 
73
73
        popmessage("%02x",x);