bugfixes, new config system and messed code for it

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@393 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-03-24 23:11:47 +00:00
parent c46ffd310f
commit 1ca2ea4f60
16 changed files with 352 additions and 192 deletions

View file

@ -1,4 +1,4 @@
// (c) Copyright 2006,2007 notaz, All rights reserved.
// (c) Copyright 2006-2008 notaz, All rights reserved.
void menu_init(void);
@ -9,7 +9,6 @@ void menu_draw_selection(int x, int y, int w);
extern char menuErrorMsg[64];
typedef enum
{
MB_NONE = 1, /* no auto processing */
@ -65,6 +64,7 @@ typedef enum
MA_OPT2_SQUIDGEHACK, /* gp2x */
MA_OPT2_STATUS_LINE, /* psp */
MA_OPT2_NO_FRAME_LIMIT, /* psp */
MA_OPT2_SVP_DYNAREC,
MA_OPT2_DONE,
MA_OPT3_SCALE, /* psp (all OPT3) */
MA_OPT3_HSCALE32,
@ -102,6 +102,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);