Merge pull request #72 from Chips-fr/master
[picodrive.git] / platform / gp2x / plat.c
index e7f8f73..614ab7f 100644 (file)
@@ -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]),
 };
@@ -179,6 +179,11 @@ void plat_video_menu_leave(void)
 {
 }
 
+void *plat_mem_get_for_drc(size_t size)
+{
+       return NULL;
+}
+
 void plat_early_init(void)
 {
        // just use gettimeofday until plat_init()