| 1 | |
| 2 | static const char *men_vscaling_opts[] = { "OFF", "fullscreen", "borderless", NULL }; |
| 3 | static const char *men_hscaling_opts[] = { "1:1", "4:3", "extended", "fullwidth", NULL }; |
| 4 | static const char *men_filter_opts[] = { "nearest", "bilinear", NULL }; |
| 5 | |
| 6 | static const char h_8bit[] = "This option only works for 8bit renderers"; |
| 7 | |
| 8 | #define MENU_OPTIONS_GFX \ |
| 9 | mee_enum ("Vertical scaling", MA_OPT_VSCALING, currentConfig.vscaling, men_vscaling_opts), \ |
| 10 | mee_enum ("Aspect ratio", MA_OPT_SCALING, currentConfig.scaling, men_hscaling_opts), \ |
| 11 | mee_enum ("Scaler type", MA_OPT3_FILTERING, currentConfig.filter, men_filter_opts), \ |
| 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), \ |
| 14 | mee_onoff ("Wait for vsync", MA_OPT3_VSYNC, currentConfig.EmuOpt, EOPT_VSYNC), \ |
| 15 | |
| 16 | #define MENU_OPTIONS_ADV |
| 17 | |
| 18 | static menu_entry e_menu_sms_options[]; |
| 19 | static menu_entry e_menu_keyconfig[]; |
| 20 | |
| 21 | void psp_menu_init(void) |
| 22 | { |
| 23 | me_enable(e_menu_sms_options, MA_SMSOPT_GHOSTING, 0); |
| 24 | me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0); |
| 25 | } |