X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplat_omap.c;h=710a45bef1f9453bb00f652be8ae3582119d8b4a;hp=d5e9db52479578668b680975f9f5e79b097cfdd3;hb=2cb4655298083c0c05f68941fa7e4f37b6b51ebd;hpb=96d9fde1230e5ae6de069ff9e4a0f16185650ab5 diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c index d5e9db52..710a45be 100644 --- a/frontend/plat_omap.c +++ b/frontend/plat_omap.c @@ -91,7 +91,7 @@ static int omap_setup_layer_(int fd, int enabled, int x, int y, int w, int h, in } if (first_call) { - mi.size = 640*512*2*3; + mi.size = 640*512*3*3; ret = ioctl(fd, OMAPFB_SETUP_MEM, &mi); if (ret != 0) { perror("SETUP_MEM"); @@ -120,10 +120,6 @@ int omap_enable_layer(int enabled) g_layer_x, g_layer_y, g_layer_w, g_layer_h, 0); } -void plat_video_menu_enter(int is_rom_loaded) -{ -} - void plat_video_menu_begin(void) { } @@ -189,7 +185,6 @@ void plat_init(void) goto fail1; } g_menubg_ptr = temp_frame; - g_menubg_src_ptr = temp_frame; in_set_config(in_name_to_id("evdev:gpio-keys"), IN_CFG_KEY_NAMES, pandora_gpio_keys, sizeof(pandora_gpio_keys)); @@ -203,3 +198,11 @@ fail0: } +void plat_finish(void) +{ + omap_enable_layer(0); + vout_fbdev_finish(layer_fb); + vout_fbdev_finish(main_fb); + oshide_finish(); +} +