X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Fmenu.h;h=4c20b557fc66bce48b5dc7996952f2178e13618b;hb=b846453101c070b93938dd2224f0cca130a55e8c;hp=0b5aac30cc2c5d4226aecc1199760fd730544bba;hpb=0ae25549b5066ea8b42216ec875f5c3c5d5bd8d6;p=libpicofe.git diff --git a/common/menu.h b/common/menu.h index 0b5aac3..4c20b55 100644 --- a/common/menu.h +++ b/common/menu.h @@ -1,4 +1,4 @@ -// (c) Copyright 2006,2007 notaz, All rights reserved. +// (c) Copyright 2006-2008 notaz, All rights reserved. void menu_init(void); @@ -6,10 +6,10 @@ void text_out16(int x, int y, const char *texto, ...); void smalltext_out16(int x, int y, const char *texto, int color); void smalltext_out16_lim(int x, int y, const char *texto, int color, int max); void menu_draw_selection(int x, int y, int w); +void debug_menu_loop(void); extern char menuErrorMsg[64]; - typedef enum { MB_NONE = 1, /* no auto processing */ @@ -65,6 +65,9 @@ typedef enum MA_OPT2_SQUIDGEHACK, /* gp2x */ MA_OPT2_STATUS_LINE, /* psp */ MA_OPT2_NO_FRAME_LIMIT, /* psp */ + MA_OPT2_SVP_DYNAREC, + MA_OPT2_NO_SPRITE_LIM, + MA_OPT2_NO_IDLE_LOOPS, MA_OPT2_DONE, MA_OPT3_SCALE, /* psp (all OPT3) */ MA_OPT3_HSCALE32, @@ -75,6 +78,7 @@ typedef enum MA_OPT3_FILTERING, MA_OPT3_VSYNC, MA_OPT3_GAMMAA, + MA_OPT3_BLACKLVL, MA_OPT3_DONE, MA_CDOPT_TESTBIOS_USA, MA_CDOPT_TESTBIOS_EUR, @@ -102,6 +106,15 @@ typedef struct char need_to_save; } menu_entry; +typedef struct +{ + char *name; + int mask; +} me_bind_action; + +extern me_bind_action me_ctrl_actions[12]; +extern me_bind_action emuctrl_actions[]; // platform code + typedef void (me_draw_custom_f)(const menu_entry *entry, int x, int y, void *param);