From f20ad52307f9e8993c28e388bdd6a7d7837d1472 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 14 Jun 2023 00:39:34 +0300 Subject: [PATCH] platform: revive pandora build --- configure | 2 +- platform/pandora/plat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 40860279..c87fab78 100755 --- a/configure +++ b/configure @@ -127,7 +127,7 @@ set_platform() pandora) sound_drivers="oss alsa" have_libavcodec="yes" - MFLAGS="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=hard" + MFLAGS="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" ;; gp2x | wiz | caanoo) sound_drivers="oss" diff --git a/platform/pandora/plat.c b/platform/pandora/plat.c index 5532543f..9b71d87a 100644 --- a/platform/pandora/plat.c +++ b/platform/pandora/plat.c @@ -384,8 +384,8 @@ void emu_video_mode_change(int start_line, int line_count, int start_col, int co g_osd_y = fb_top + fb_h - 8; pnd_setup_layer(1, g_layer_x, g_layer_y, g_layer_w, g_layer_h); + 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); - vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 4); plat_video_flip(); PicoDrawSetOutFormat(PDF_RGB555, 0); -- 2.39.2