X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplat_omap.c;h=1a725ff500b6b296e3275d08a80dfc2d6e8aea8a;hp=96f75cec471b3dde4d3b6e138818dde840b2bd6d;hb=ac6575cdd93d665efc374c1a14b391c6a5308972;hpb=6469a8c407ff23af8b7a6218f759b368eec7c339 diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c index 96f75cec..1a725ff5 100644 --- a/frontend/plat_omap.c +++ b/frontend/plat_omap.c @@ -166,7 +166,6 @@ void *plat_prepare_screenshot(int *w, int *h, int *bpp) void plat_init(void) { const char *main_fb_name, *layer_fb_name; - void *temp_frame; int fd, ret, w, h; main_fb_name = getenv("FBDEV_MAIN"); @@ -218,13 +217,6 @@ void plat_init(void) goto fail0; } - temp_frame = calloc(g_menuscreen_w * g_menuscreen_h * 2, 1); - if (temp_frame == NULL) { - fprintf(stderr, "OOM\n"); - goto fail1; - } - g_menubg_ptr = temp_frame; - plat_pandora_init(); // XXX return;