Skip to content

Commit 8568d00

Browse files
committed
Remove SDL_PumpEvents
1 parent 11de7ba commit 8568d00

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/plugin_front.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -293,20 +293,8 @@ EXPORT void CALL ControllerCommand(int Control, unsigned char *Command)
293293
pb_controllerCommand(EMU_2_ADAP_PORT(Control), Command);
294294
}
295295

296-
#if PLUGIN_VERSION >= 0x010002
297-
void SDL_PumpEvents(void);
298-
#endif
299-
300296
EXPORT void CALL GetKeys( int Control, BUTTONS *Keys )
301297
{
302-
/* Since March 23, 2018, the SDL_PumpEvents() is supposed to be called
303-
by the input plugin. Even though this plugin has nothing to do with
304-
SDL, it must now call SDL_PumpEvents. Otherwise non-input events
305-
such as SDL_QUIT (which occur when one tries to close the window)
306-
are never emitted! */
307-
#if PLUGIN_VERSION >= 0x010002
308-
SDL_PumpEvents();
309-
#endif
310298
}
311299

312300
EXPORT void CALL RomClosed(void)

0 commit comments

Comments
 (0)