| 1 | #ifndef __MENU_PICO_H__ |
| 2 | #define __MENU_PICO_H__ |
| 3 | |
| 4 | #include "../libpicofe/menu.h" |
| 5 | |
| 6 | typedef 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_CHANGE_CD, |
| 15 | MA_MAIN_CONTROLS, |
| 16 | MA_MAIN_CREDITS, |
| 17 | MA_MAIN_PATCHES, |
| 18 | MA_MAIN_EXIT, |
| 19 | MA_OPT_RENDERER, |
| 20 | MA_OPT_SCALING, |
| 21 | MA_OPT_VSCALING, |
| 22 | MA_OPT_ACC_SPRITES, |
| 23 | MA_OPT_SHOW_FPS, |
| 24 | MA_OPT_FRAMESKIP, |
| 25 | MA_OPT_ENABLE_SOUND, |
| 26 | MA_OPT_SOUND_QUALITY, |
| 27 | MA_OPT_ARM940_SOUND, |
| 28 | MA_OPT_INPUT_DEV0, |
| 29 | MA_OPT_INPUT_DEV1, |
| 30 | MA_OPT_REGION, |
| 31 | MA_OPT_SRAM_STATES, |
| 32 | MA_OPT_CONFIRM_STATES, |
| 33 | MA_OPT_SAVE_SLOT, |
| 34 | MA_OPT_CPU_CLOCKS, |
| 35 | MA_OPT_SCD_OPTS, |
| 36 | MA_OPT_ADV_OPTS, |
| 37 | MA_OPT_DISP_OPTS, /* psp */ |
| 38 | MA_OPT_SAVECFG, |
| 39 | MA_OPT_SAVECFG_GAME, |
| 40 | MA_OPT_LOADCFG, |
| 41 | MA_OPT_INTERLACED, /* giz */ |
| 42 | MA_OPT_TEARING_FIX, /* wiz */ |
| 43 | MA_OPT_VOUT_MODE, |
| 44 | MA_OPT_AUTOLOAD_SAVE, |
| 45 | MA_OPT2_GAMMA, |
| 46 | MA_OPT2_A_SN_GAMMA, |
| 47 | MA_OPT2_DBLBUFF, /* giz */ |
| 48 | MA_OPT2_VSYNC, |
| 49 | MA_OPT2_ENABLE_Z80, |
| 50 | MA_OPT2_ENABLE_YM2612, |
| 51 | MA_OPT2_ENABLE_SN76496, |
| 52 | MA_OPT2_GZIP_STATES, |
| 53 | MA_OPT2_NO_LAST_ROM, |
| 54 | MA_OPT2_RAMTIMINGS, /* gp2x */ |
| 55 | MA_OPT2_STATUS_LINE, /* psp */ |
| 56 | MA_OPT2_NO_FRAME_LIMIT, /* psp */ |
| 57 | MA_OPT2_DYNARECS, |
| 58 | MA_OPT2_NO_SPRITE_LIM, |
| 59 | MA_OPT2_NO_IDLE_LOOPS, |
| 60 | MA_OPT2_DONE, |
| 61 | MA_OPT3_SCALE, /* psp (all OPT3) */ |
| 62 | MA_OPT3_HSCALE32, |
| 63 | MA_OPT3_HSCALE40, |
| 64 | MA_OPT3_PRES_NOSCALE, |
| 65 | MA_OPT3_PRES_SCALE43, |
| 66 | MA_OPT3_PRES_FULLSCR, |
| 67 | MA_OPT3_FILTERING, |
| 68 | MA_OPT3_VSYNC, |
| 69 | MA_OPT3_BLACKLVL, |
| 70 | MA_OPT3_LAYER_X, |
| 71 | MA_OPT3_LAYER_Y, |
| 72 | MA_OPT3_LAYER_W, |
| 73 | MA_OPT3_LAYER_H, |
| 74 | MA_OPT3_DONE, |
| 75 | MA_CDOPT_TESTBIOS_USA, |
| 76 | MA_CDOPT_TESTBIOS_EUR, |
| 77 | MA_CDOPT_TESTBIOS_JAP, |
| 78 | MA_CDOPT_LEDS, |
| 79 | MA_CDOPT_CDDA, |
| 80 | MA_CDOPT_PCM, |
| 81 | MA_CDOPT_READAHEAD, |
| 82 | MA_CDOPT_SAVERAM, |
| 83 | MA_CDOPT_SCALEROT_CHIP, |
| 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 | |
| 100 | void menu_init(void); |
| 101 | void menu_loop(void); |
| 102 | int menu_loop_tray(void); |
| 103 | void menu_romload_prepare(const char *rom_name); |
| 104 | void menu_romload_end(void); |
| 105 | |
| 106 | #endif // __MENU_PICO_H__ |