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

« back to all changes in this revision

Viewing changes to src/emu/sound/sn76477.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:
1995
1995
#if TEST_MODE
1996
1996
        static int recursing = 0;       /* we need to prevent recursion since enable_w calls stream_update */
1997
1997
 
1998
 
        if (input_code_pressed_once(KEYCODE_SPACE) && !recursing)
 
1998
        if (input_code_pressed_once(device->machine, KEYCODE_SPACE) && !recursing)
1999
1999
        {
2000
2000
                recursing = 1;
2001
2001
 
2002
 
                sound_global_enable(1);
 
2002
                sound_global_enable(device->machine, 1);
2003
2003
                SN76477_test_enable_w(sn, !sn->enable);
2004
2004
        }
2005
2005