From b573d4ac1108e58b367127780a30c3d50d2523a9 Mon Sep 17 00:00:00 2001 From: m45t3r Date: Thu, 12 Nov 2020 00:20:12 -0300 Subject: Fix compilation with modern GCC, remove unused portaudio.h --- shell/emu/main.h | 1 - shell/input/sdl/input.c | 3 +-- shell/other/compatibility_layer.c | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'shell') diff --git a/shell/emu/main.h b/shell/emu/main.h index 43688c3..8bf6c42 100644 --- a/shell/emu/main.h +++ b/shell/emu/main.h @@ -1,7 +1,6 @@ #ifndef MAIN_H #define MAIN_H -int ResumeEmulation; // utility functions that the core requires us to implement extern const char* S9xGetFilename(const char* extension); extern const char* S9xGetDirectory(uint32_t dirtype); 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 #include #include -#include #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: diff --git a/shell/other/compatibility_layer.c b/shell/other/compatibility_layer.c index fea850b..27ffb5b 100644 --- a/shell/other/compatibility_layer.c +++ b/shell/other/compatibility_layer.c @@ -1,5 +1,4 @@ #include -#include #include "main.h" #include "snes9x.h" #include "soundux.h" -- cgit v1.2.3