From: notaz Date: Thu, 10 Oct 2013 22:05:28 +0000 (+0300) Subject: update gp2x for input changes X-Git-Tag: v1.91~5 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9770f5316fdc015d989b1ef2811f0b07e9e8e9a7;p=picodrive.git update gp2x for input changes --- diff --git a/pico/cd/gfx.c b/pico/cd/gfx.c index 948402bd..a2c97be0 100644 --- a/pico/cd/gfx.c +++ b/pico/cd/gfx.c @@ -316,7 +316,7 @@ void gfx_start(unsigned int base) /* make sure 2M mode is enabled */ if (!(Pico_mcd->s68k_regs[3] & 0x04)) { - uint32 mask; + uint32 mask = 0; uint32 reg; /* trace vector pointer */ diff --git a/platform/gp2x/plat.c b/platform/gp2x/plat.c index e7f8f730..4d35cbd8 100644 --- a/platform/gp2x/plat.c +++ b/platform/gp2x/plat.c @@ -95,8 +95,8 @@ static const struct menu_keymap key_pbtn_map[] = { KEY_RIGHTBRACE, PBTN_R }, }; -static const struct in_evdev_pdata gp2x_evdev_pdata = { - .defbinds = in_gp2x_defbinds, +static const struct in_pdata gp2x_evdev_pdata = { + .defbinds = in_evdev_defbinds, .key_map = key_pbtn_map, .kmap_size = sizeof(key_pbtn_map) / sizeof(key_pbtn_map[0]), }; diff --git a/platform/libpicofe b/platform/libpicofe index d685ce46..8b4363e3 160000 --- a/platform/libpicofe +++ b/platform/libpicofe @@ -1 +1 @@ -Subproject commit d685ce4625e9f3b25b0852d31960cb429da06a9d +Subproject commit 8b4363e302e6bbcf41321ec70f8c033efed5840d