revive GP2X build, update
[picodrive.git] / platform / common / menu_pico.h
CommitLineData
e743be20 1#ifndef __MENU_PICO_H__
2#define __MENU_PICO_H__
3
4#include "../libpicofe/menu.h"
5
d2fd8a7a 6typedef enum
7{
8 MA_NONE = 1,
9 MA_MAIN_RESUME_GAME,
10 MA_MAIN_SAVE_STATE,
11 MA_MAIN_LOAD_STATE,
12 MA_MAIN_RESET_GAME,
13 MA_MAIN_LOAD_ROM,
14 MA_MAIN_CONTROLS,
15 MA_MAIN_CREDITS,
16 MA_MAIN_PATCHES,
17 MA_MAIN_EXIT,
18 MA_OPT_RENDERER,
19 MA_OPT_SCALING,
20 MA_OPT_VSCALING,
21 MA_OPT_ACC_SPRITES,
22 MA_OPT_SHOW_FPS,
23 MA_OPT_FRAMESKIP,
24 MA_OPT_ENABLE_SOUND,
25 MA_OPT_SOUND_QUALITY,
26 MA_OPT_ARM940_SOUND,
531a8f38 27 MA_OPT_INPUT_DEV0,
28 MA_OPT_INPUT_DEV1,
d2fd8a7a 29 MA_OPT_REGION,
30 MA_OPT_SRAM_STATES,
31 MA_OPT_CONFIRM_STATES,
32 MA_OPT_SAVE_SLOT,
33 MA_OPT_CPU_CLOCKS,
34 MA_OPT_SCD_OPTS,
35 MA_OPT_ADV_OPTS,
36 MA_OPT_DISP_OPTS, /* psp */
37 MA_OPT_SAVECFG,
38 MA_OPT_SAVECFG_GAME,
39 MA_OPT_LOADCFG,
40 MA_OPT_INTERLACED, /* giz */
41 MA_OPT_ROTATION, /* uiq */
42 MA_OPT_TEARING_FIX, /* wiz */
636d5f25 43 MA_OPT_VOUT_MODE,
d2fd8a7a 44 MA_OPT2_GAMMA,
45 MA_OPT2_A_SN_GAMMA,
46 MA_OPT2_DBLBUFF, /* giz */
47 MA_OPT2_VSYNC,
48 MA_OPT2_ENABLE_Z80,
49 MA_OPT2_ENABLE_YM2612,
50 MA_OPT2_ENABLE_SN76496,
51 MA_OPT2_GZIP_STATES,
52 MA_OPT2_NO_LAST_ROM,
53 MA_OPT2_RAMTIMINGS, /* gp2x */
d2fd8a7a 54 MA_OPT2_STATUS_LINE, /* psp */
55 MA_OPT2_NO_FRAME_LIMIT, /* psp */
56 MA_OPT2_SVP_DYNAREC,
57 MA_OPT2_NO_SPRITE_LIM,
58 MA_OPT2_NO_IDLE_LOOPS,
59 MA_OPT2_DONE,
60 MA_OPT3_SCALE, /* psp (all OPT3) */
61 MA_OPT3_HSCALE32,
62 MA_OPT3_HSCALE40,
63 MA_OPT3_PRES_NOSCALE,
64 MA_OPT3_PRES_SCALE43,
65 MA_OPT3_PRES_FULLSCR,
66 MA_OPT3_FILTERING,
67 MA_OPT3_VSYNC,
d2fd8a7a 68 MA_OPT3_BLACKLVL,
69 MA_OPT3_LAYER_X,
70 MA_OPT3_LAYER_Y,
71 MA_OPT3_LAYER_W,
72 MA_OPT3_LAYER_H,
73 MA_OPT3_DONE,
74 MA_CDOPT_TESTBIOS_USA,
75 MA_CDOPT_TESTBIOS_EUR,
76 MA_CDOPT_TESTBIOS_JAP,
77 MA_CDOPT_LEDS,
78 MA_CDOPT_CDDA,
79 MA_CDOPT_PCM,
80 MA_CDOPT_READAHEAD,
81 MA_CDOPT_SAVERAM,
82 MA_CDOPT_SCALEROT_CHIP,
83 MA_CDOPT_BETTER_SYNC,
84 MA_CDOPT_DONE,
85 MA_32XOPT_ENABLE_32X,
86 MA_32XOPT_RENDERER,
87 MA_32XOPT_PWM,
88 MA_32XOPT_MSH2_CYCLES,
89 MA_32XOPT_SSH2_CYCLES,
90 MA_CTRL_PLAYER1,
91 MA_CTRL_PLAYER2,
92 MA_CTRL_EMU,
93 MA_CTRL_TURBO_RATE,
94 MA_CTRL_DEADZONE,
95 MA_CTRL_DEV_FIRST,
96 MA_CTRL_DEV_NEXT,
97 MA_CTRL_DONE,
98} menu_id;
99
e743be20 100void menu_init(void);
101void menu_loop(void);
102int menu_loop_tray(void);
103void menu_romload_prepare(const char *rom_name);
104void menu_romload_end(void);
105
106#endif // __MENU_PICO_H__