diff options
author | Mastergatto | 2021-03-07 20:58:33 +0100 |
---|---|---|
committer | Mastergatto | 2021-03-07 20:58:33 +0100 |
commit | 0b9bf1f1f2cbbb5d5eabb32fc15786503c4f0e2a (patch) | |
tree | a36abaafb936fd0100a22fb9b3d1656732546b54 /0001-Remove-SDL_PumpEvents.patch | |
download | aur-mupen64plus-input-raphnetraw.tar.gz |
Initial commit
Diffstat (limited to '0001-Remove-SDL_PumpEvents.patch')
-rw-r--r-- | 0001-Remove-SDL_PumpEvents.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/0001-Remove-SDL_PumpEvents.patch b/0001-Remove-SDL_PumpEvents.patch new file mode 100644 index 000000000000..011f84c81929 --- /dev/null +++ b/0001-Remove-SDL_PumpEvents.patch @@ -0,0 +1,37 @@ +From 8568d004cb266f086b5117f385f7af94d894a5af Mon Sep 17 00:00:00 2001 +From: Logan McNaughton <logan@bacoosta.com> +Date: Thu, 5 Mar 2020 07:37:10 -0700 +Subject: [PATCH] Remove SDL_PumpEvents + +--- + src/plugin_front.c | 12 ------------ + 1 file changed, 12 deletions(-) + +diff --git a/mupen64plus-input-raphnetraw-1.1.0/src/plugin_front.c b/mupen64plus-input-raphnetraw-1.1.0/src/plugin_front.c +index e7972be..28bbac7 100644 +--- a/mupen64plus-input-raphnetraw-1.1.0/src/plugin_front.c ++++ b/mupen64plus-input-raphnetraw-1.1.0/src/plugin_front.c +@@ -293,20 +293,8 @@ EXPORT void CALL ControllerCommand(int Control, unsigned char *Command) + pb_controllerCommand(EMU_2_ADAP_PORT(Control), Command); + } + +-#if PLUGIN_VERSION >= 0x010002 +-void SDL_PumpEvents(void); +-#endif +- + EXPORT void CALL GetKeys( int Control, BUTTONS *Keys ) + { +- /* Since March 23, 2018, the SDL_PumpEvents() is supposed to be called +- by the input plugin. Even though this plugin has nothing to do with +- SDL, it must now call SDL_PumpEvents. Otherwise non-input events +- such as SDL_QUIT (which occur when one tries to close the window) +- are never emitted! */ +-#if PLUGIN_VERSION >= 0x010002 +- SDL_PumpEvents(); +-#endif + } + + EXPORT void CALL RomClosed(void) +-- +2.30.1 + |