diff options
author | m45t3r | 2020-11-12 00:20:12 -0300 |
---|---|---|
committer | m45t3r | 2020-11-12 00:30:01 -0300 |
commit | b573d4ac1108e58b367127780a30c3d50d2523a9 (patch) | |
tree | aa9eb5369f837c15a9b61f46cb079d2edeaa7eb6 /shell/input/sdl | |
parent | c6d560b0adc5b321115f2597091422787588b807 (diff) | |
download | snesemu-b573d4ac1108e58b367127780a30c3d50d2523a9.tar.gz snesemu-b573d4ac1108e58b367127780a30c3d50d2523a9.tar.bz2 snesemu-b573d4ac1108e58b367127780a30c3d50d2523a9.zip |
Fix compilation with modern GCC, remove unused portaudio.h
Diffstat (limited to 'shell/input/sdl')
-rw-r--r-- | shell/input/sdl/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/input/sdl/input.c b/shell/input/sdl/input.c index 89034c0..158d7ef 100644 --- a/shell/input/sdl/input.c +++ b/shell/input/sdl/input.c @@ -1,7 +1,6 @@ #include <SDL/SDL.h> #include <stdint.h> #include <stdio.h> -#include <portaudio.h> #include "main.h" #include "snes9x.h" #include "soundux.h" @@ -67,7 +66,7 @@ uint32_t S9xReadJoypad(int32_t port) break; } break; - case SDLK_KEYUP: + case SDL_KEYUP: switch(event.key.keysym.sym) { case SDLK_HOME: |