blob: 011f84c819299763d37c383f2190d618e5d01868 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|