pandora: fix readme and pxml version
[picodrive.git] / platform / psp / menu.c
CommitLineData
1820b5a7 1
fc07fe2b 2static const char *men_vscaling_opts[] = { "OFF", "fullscreen", "borderless", NULL };
3static const char *men_hscaling_opts[] = { "1:1", "4:3", "extended", "fullwidth", NULL };
a2d1369c 4static const char *men_filter_opts[] = { "nearest", "bilinear", NULL };
0924243a 5
56ec20d2 6static const char h_8bit[] = "This option only works for 8bit renderers";
7
6c5784f0 8#define MENU_OPTIONS_GFX \
0924243a 9 mee_enum ("Vertical scaling", MA_OPT_VSCALING, currentConfig.vscaling, men_vscaling_opts), \
fc07fe2b 10 mee_enum ("Aspect ratio", MA_OPT_SCALING, currentConfig.scaling, men_hscaling_opts), \
a2d1369c 11 mee_enum ("Scaler type", MA_OPT3_FILTERING, currentConfig.filter, men_filter_opts), \
56ec20d2 12 mee_range_h ("Gamma adjustment", MA_OPT3_GAMMAA, currentConfig.gamma, -4, 16, h_8bit), \
13 mee_range_h ("Black level", MA_OPT3_BLACKLVL, currentConfig.gamma2, 0, 2, h_8bit), \
0924243a 14 mee_onoff ("Wait for vsync", MA_OPT3_VSYNC, currentConfig.EmuOpt, EOPT_VSYNC), \
1820b5a7 15
6c5784f0 16#define MENU_OPTIONS_ADV
1820b5a7 17
96948bdf 18static menu_entry e_menu_sms_options[];
85174a6d 19static menu_entry e_menu_keyconfig[];
96948bdf 20
1cc77481 21void psp_menu_init(void)
22{
a990d9c4 23 me_enable(e_menu_sms_options, MA_SMSOPT_GHOSTING, 0);
85174a6d 24 me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0);
1cc77481 25}