X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpandora%2Fmenu.c;h=867b5c0d93e2a6f04d42e9014ee99211fae92571;hb=95a46e3f961ec21561b7d79273d4ee3feae535b6;hp=f591ec14ad62fb00c7fb799495583cacb69ca35b;hpb=d4d626658a7a999f48009f408b4a22d280ab80ea;p=picodrive.git diff --git a/platform/pandora/menu.c b/platform/pandora/menu.c index f591ec1..867b5c0 100644 --- a/platform/pandora/menu.c +++ b/platform/pandora/menu.c @@ -18,7 +18,7 @@ static int menu_loop_cscaler(int id, int keys) for (;;) { menu_draw_begin(0, 1); - memset(g_menuscreen_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2); + menuscreen_memset_lines(g_menuscreen_ptr, 0, g_menuscreen_h); text_out16(2, 480 - 18, "%dx%d | d-pad to resize, R+d-pad to move", g_layer_cw, g_layer_ch); menu_draw_end(); @@ -67,11 +67,7 @@ static int menu_loop_cscaler(int id, int keys) mee_range_hide("layer_w", MA_OPT3_LAYER_W, g_layer_cw, 160, 800), \ mee_range_hide("layer_h", MA_OPT3_LAYER_H, g_layer_ch, 60, 480), \ -#define MENU_OPTIONS_ADV \ - mee_onoff ("SVP dynarec", MA_OPT2_SVP_DYNAREC, PicoOpt, POPT_EN_SVP_DRC), \ - mee_onoff ("Status line in main menu", MA_OPT2_STATUS_LINE, currentConfig.EmuOpt, EOPT_SHOW_RTC), - -#define menu_main_plat_draw NULL +#define MENU_OPTIONS_ADV static menu_entry e_menu_gfx_options[]; static menu_entry e_menu_options[]; @@ -79,11 +75,6 @@ static menu_entry e_menu_keyconfig[]; void pnd_menu_init(void) { - int i; - - i = me_id2offset(e_menu_options, MA_OPT_CPU_CLOCKS); - e_menu_options[i].name = "Max CPU clock"; - me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0); }