notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Maemo ehancement
[pcsx_rearmed.git]
/
frontend
/
plugin_lib.c
diff --git
a/frontend/plugin_lib.c
b/frontend/plugin_lib.c
index
180ee4a
..
f045abb
100644
(file)
--- a/
frontend/plugin_lib.c
+++ b/
frontend/plugin_lib.c
@@
-28,10
+28,10
@@
#include "plat.h"
#include "pcnt.h"
#include "pl_gun_ts.h"
#include "plat.h"
#include "pcnt.h"
#include "pl_gun_ts.h"
+#include "cspace.h"
#include "psemu_plugin_defs.h"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
#include "../libpcsxcore/psxmem_map.h"
#include "psemu_plugin_defs.h"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
#include "../libpcsxcore/psxmem_map.h"
-#include "../plugins/gpulib/cspace.h"
#include "../plugins/dfinput/externals.h"
int in_type1, in_type2;
#include "../plugins/dfinput/externals.h"
int in_type1, in_type2;
@@
-582,8
+582,18
@@
static void update_input(void)
in_keystate = actions[IN_BINDTYPE_PLAYER12];
}
#else /* MAEMO */
in_keystate = actions[IN_BINDTYPE_PLAYER12];
}
#else /* MAEMO */
+#include <gtk/gtk.h>
static void update_input(void)
{
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();
+ }
}
#endif
}
#endif