notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: support ms ABI
[picodrive.git]
/
platform
/
gp2x
/
plat.c
diff --git
a/platform/gp2x/plat.c
b/platform/gp2x/plat.c
index
e7f8f73
..
4fcf76f
100644
(file)
--- 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 },
};
{ 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]),
};
.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()
void plat_early_init(void)
{
// just use gettimeofday until plat_init()
@@
-203,6
+208,7
@@
void plat_init(void)
g_menuscreen_w = 320;
g_menuscreen_h = 240;
g_menuscreen_w = 320;
g_menuscreen_h = 240;
+ g_menuscreen_pp = g_menuscreen_w;
gp2x_memset_all_buffers(0, 0, 320*240*2);
gp2x_make_fb_bufferable(1);
gp2x_memset_all_buffers(0, 0, 320*240*2);
gp2x_make_fb_bufferable(1);