X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpandora%2Fplat.c;h=a9fa99207168ca3976185571a441746ac3b8672c;hb=ee5f7e99360c3d5fc5efec31464a02967bad7bb8;hp=72c63aa31bf4f91f0df3c3345d4535c9b57d22d2;hpb=41946d7023cded9999495eb8916eeb5ab0480a1f;p=picodrive.git diff --git a/platform/pandora/plat.c b/platform/pandora/plat.c index 72c63aa..a9fa992 100644 --- a/platform/pandora/plat.c +++ b/platform/pandora/plat.c @@ -300,9 +300,6 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols) if (doing_bg_frame) return; - PicoDrawSetOutFormat(PDF_RGB555, 1); - PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2); - if (is_32cols) { fb_w = 256; fb_left = fb_right = 32; @@ -353,6 +350,8 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols) vout_fbdev_clear(layer_fb); vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 3); plat_video_flip(); + + PicoDrawSetOutFormat(PDF_RGB555, 0); } void plat_video_loop_prepare(void)