X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpl_gun_ts.c;h=fbf25e36cab4a316deb24eed8d059121f93bd6d2;hp=63cf33f9b89126f6de75dcfeb5f88a2a44f26a41;hb=76d1d09c1224af8d663ce63dc5b32425bd62cb29;hpb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae diff --git a/frontend/pl_gun_ts.c b/frontend/pl_gun_ts.c index 63cf33f9..fbf25e36 100644 --- a/frontend/pl_gun_ts.c +++ b/frontend/pl_gun_ts.c @@ -102,11 +102,15 @@ struct tsdev *pl_gun_ts_init(void) // FIXME: we should be able to get this somewhere // the problem is this doesn't always match resolution due to different display modes +#ifdef __ARM_ARCH_7A__ pl_set_gun_rect(0, 0, 800, 480); +#else + pl_set_gun_rect(0, 0, 320, 240); +#endif return ts; fail_config: - pts_close(ltsh); + pts_close(ts); fail_open: fail_dlsym: dlclose(ltsh);