From: notaz Date: Sun, 3 Dec 2023 19:13:04 +0000 (+0200) Subject: pandora: move PicoDrawSetOutFormat X-Git-Tag: v2.00~147 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92efe29e6af614cbcec03504065bff76e38cfa80;p=picodrive.git pandora: move PicoDrawSetOutFormat --- diff --git a/platform/pandora/plat.c b/platform/pandora/plat.c index 88a96529..3b2af544 100644 --- a/platform/pandora/plat.c +++ b/platform/pandora/plat.c @@ -387,8 +387,6 @@ void emu_video_mode_change(int start_line, int line_count, int start_col, int co vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 4, 0); vout_fbdev_clear(layer_fb); plat_video_flip(); - - PicoDrawSetOutFormat(PDF_RGB555, 0); } void plat_video_loop_prepare(void) @@ -397,6 +395,7 @@ void plat_video_loop_prepare(void) memset(g_menuscreen_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2); g_menuscreen_ptr = vout_fbdev_flip(main_fb); + PicoDrawSetOutFormat(PDF_RGB555, 0); // emu_video_mode_change will call pnd_setup_layer() }