#elif defined(PANDORA)
#include <platform/pandora/menu.c>
#else
-#define MENU_OPTIONS_GFX
-#define MENU_OPTIONS_ADV
+#include <platform/linux/menu.c>
#endif
static void make_bg(int no_scale, int from_screen)
// take over any new vout settings XXX ask plat_sdl for scaling instead!
plat_sdl_change_video_mode(g_menuscreen_w, g_menuscreen_h, 0);
// switch over to scaled output if available
- if (plat_sdl_overlay != NULL || plat_sdl_gl_active) {
+ if (plat_sdl_overlay != NULL || plat_sdl_gl_active || currentConfig.scaling != EOPT_SCALE_NONE) {
g_screen_width = 320;
g_screen_height = 240;
g_screen_ppitch = g_screen_width;
--- /dev/null
+#include "../libpicofe/gp2x/plat_gp2x.h"
+
+// ------------ gfx options menu ------------
+
+
+const char *men_scaling_opts[] = { "OFF", "ON", NULL };
+
+#define MENU_OPTIONS_GFX \
+ // mee_enum ("screen scaling", MA_OPT_SCALING, currentConfig.scaling, men_scaling_opts), \
+
+#define MENU_OPTIONS_ADV
+
+void linux_menu_init(void)
+{
+}
+