aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authornotaz2013-02-18 03:06:01 +0200
committernotaz2013-02-18 03:06:01 +0200
commit7010034e5499a82f96f9fb45e7be31789a3f63b9 (patch)
tree234d693977f035289124773af4087266b6f7b923 /frontend
parent84b0e44599886bac368fa48cd82979019adb904d (diff)
downloadpcsx_rearmed-7010034e5499a82f96f9fb45e7be31789a3f63b9.tar.gz
pcsx_rearmed-7010034e5499a82f96f9fb45e7be31789a3f63b9.tar.bz2
pcsx_rearmed-7010034e5499a82f96f9fb45e7be31789a3f63b9.zip
frontend: maemo: some refactoring
Diffstat (limited to 'frontend')
-rw-r--r--frontend/plugin_lib.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index f045abb..72b3395 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -582,19 +582,7 @@ static void update_input(void)
in_keystate = actions[IN_BINDTYPE_PLAYER12];
}
#else /* MAEMO */
-#include <gtk/gtk.h>
-static void update_input(void)
-{
- extern int g_maemo_opts;
- extern int maemo_x11_update_keys();
- if (g_maemo_opts&8)
- maemo_x11_update_keys();
- else{
- /* process GTK+ events */
- while (gtk_events_pending())
- gtk_main_iteration();
- }
-}
+extern void update_input(void);
#endif
void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in)