platform: revive pandora build
authornotaz <notasas@gmail.com>
Tue, 13 Jun 2023 21:39:34 +0000 (00:39 +0300)
committeririxxxx <31696370+irixxxx@users.noreply.github.com>
Thu, 15 Jun 2023 06:46:27 +0000 (08:46 +0200)
configure
platform/pandora/plat.c

index 4086027..c87fab7 100755 (executable)
--- 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"
index 5532543..9b71d87 100644 (file)
@@ -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;\r
 \r
        pnd_setup_layer(1, g_layer_x, g_layer_y, g_layer_w, g_layer_h);\r
+       vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 4, 0);\r
        vout_fbdev_clear(layer_fb);\r
-       vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 4);\r
        plat_video_flip();\r
 \r
        PicoDrawSetOutFormat(PDF_RGB555, 0);\r