psx_gpu: fix a blending issue
[pcsx_rearmed.git] / frontend / plat_omap.c
index 96f75ce..d3ba5c9 100644 (file)
@@ -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,23 +217,13 @@ 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;
 
-fail1:
-       vout_fbdev_finish(layer_fb);
 fail0:
        vout_fbdev_finish(main_fb);
        exit(1);
-
 }
 
 void plat_finish(void)