X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fplat.c;h=f0be14e76cbdfd6d642eb6bcc6e2b9ca890e35fc;hb=ec54eeef35b7f889f140df082aad1c6d3334826e;hp=0e207bf523b9d8c72ba69bea1eebecc252e4def8;hpb=d2f29611d1379a249c8f3f955ed16a336f9290cd;p=libpicofe.git diff --git a/gp2x/plat.c b/gp2x/plat.c index 0e207bf..f0be14e 100644 --- a/gp2x/plat.c +++ b/gp2x/plat.c @@ -85,6 +85,7 @@ void plat_video_menu_enter(int is_rom_loaded) void plat_video_menu_begin(void) { memcpy(g_screen_ptr, gp2x_screens[2], 320*240*2); + g_menuscreen_ptr = g_screen_ptr; } void plat_video_menu_end(void) @@ -138,7 +139,7 @@ void plat_init(void) gp2x_memset_all_buffers(0, 0, 320*240*2); - // use buffer2 for menubg (using only buffers 0, 1 in menu) + // use buffer2 for menubg to save mem (using only buffers 0, 1 in menu) g_menubg_ptr = gp2x_screens[2]; // snd