Browse Source

small fixes

main
h3ndrik 13 years ago
parent
commit
2674a86202
  1. BIN
      sdljpd
  2. 5
      sdljpd.c
  3. 3
      sdljpd.c~

BIN
sdljpd

Binary file not shown.

5
sdljpd.c

@ -849,6 +849,7 @@ int main( int argc, char **argv )
/* Lock Buzzers */
case SDLK_l:
lockbz = TRUE;
system("./set_led 0 0 0 0");
break;
/* Unlock Buzzers */
@ -859,8 +860,8 @@ int main( int argc, char **argv )
/* Reset playing field */
case SDLK_r:
lockbz = FALSE;
system("./set_led 1 1 1 0");
/* lockbz = FALSE;
system("./set_led 1 1 1 0"); */
inp = FALSE;
enp = FALSE;
break;

3
sdljpd.c~

@ -125,6 +125,8 @@ void Quit( int returnCode )
Mix_FreeMusic(music);
music = NULL;
system("./set_led 0 0 0 0");
SDL_JoystickClose(joystick);
SDL_FreeSurface(panel);
@ -847,6 +849,7 @@ int main( int argc, char **argv )
/* Lock Buzzers */
case SDLK_l:
lockbz = TRUE;
system("./set_led 0 0 0 0");
break;
/* Unlock Buzzers */

Loading…
Cancel
Save