update libpicofe
authornotaz <notasas@gmail.com>
Fri, 5 Dec 2025 22:52:25 +0000 (00:52 +0200)
committernotaz <notasas@gmail.com>
Fri, 5 Dec 2025 22:52:25 +0000 (00:52 +0200)
no more MENU_X2

frontend/libpicofe
frontend/menu.c

index da09f8f..dd11f2d 160000 (submodule)
@@ -1 +1 @@
-Subproject commit da09f8f20da6548e1debf4abb9840eb9f130678d
+Subproject commit dd11f2d723162eb1cf8e6db9f40de7db0d0b6bba
index 2de3831..9717845 100644 (file)
@@ -787,12 +787,6 @@ static unsigned short fname2color(const char *fname)
 static void draw_savestate_bg(int slot);
 
 #define MENU_ALIGN_LEFT
-#ifndef HAVE_PRE_ARMV7 // assume hires device
-#define MENU_X2 1
-#else
-#define MENU_X2 0
-#endif
-
 #include "libpicofe/menu.c"
 
 // a bit of black magic here
@@ -2672,7 +2666,7 @@ void menu_init(void)
        cpu_clock_st = cpu_clock = plat_target_cpu_clock_get();
 
        scan_bios_plugins();
-       menu_init_base();
+       menu_init_base_scale(g_menuscreen_w >= 640 && g_menuscreen_h >= 480 ? 2 : 1);
 
        menu_set_defconfig();
        menu_load_config(0);