X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpl_gun_ts.c;fp=frontend%2Fpl_gun_ts.c;h=6c05b7c3f3b31d6ff0b3923a8dc81ed84d5c83ef;hp=315c70c108cba870ca68a21aa527ccef7a87c3e2;hb=2db412ade2b09ca04da81d91b75bbf6475dbde5a;hpb=1351a8fbef932e26a56e841b6c43de6d907fde5c diff --git a/frontend/pl_gun_ts.c b/frontend/pl_gun_ts.c index 315c70c1..6c05b7c3 100644 --- a/frontend/pl_gun_ts.c +++ b/frontend/pl_gun_ts.c @@ -15,8 +15,6 @@ #include "plugin_lib.h" #include "pl_gun_ts.h" #include "menu.h" -#include "../plugins/dfinput/externals.h" -#include "../plugins/dfinput/main.h" #ifdef MAEMO #define N900_TSMAX_X 4096 @@ -57,9 +55,9 @@ int pl_gun_ts_update_raw(struct tsdev *ts, int *x, int *y, int *p) limit(gun_x, 0, 1023); limit(gun_y, 0, 1023); if (sp && !(g_opts & OPT_TSGUN_NOTRIGGER)) - gun_in |= GUNIN_TRIGGER; + gun_in |= 1; else - gun_in &= ~GUNIN_TRIGGER; + gun_in &= ~1; } }