| 1 | void menu_init(void); |
| 2 | void menu_prepare_emu(void); |
| 3 | void menu_loop(void); |
| 4 | void menu_finish(void); |
| 5 | |
| 6 | void menu_notify_mode_change(int w, int h, int bpp); |
| 7 | |
| 8 | enum g_opts_opts { |
| 9 | OPT_SHOWFPS = 1 << 0, |
| 10 | OPT_SHOWCPU = 1 << 1, |
| 11 | OPT_NO_FRAMELIM = 1 << 2, |
| 12 | OPT_SHOWSPU = 1 << 3, |
| 13 | OPT_TSGUN_NOTRIGGER = 1 << 4, |
| 14 | }; |
| 15 | |
| 16 | enum g_scaler_opts { |
| 17 | SCALE_1_1, |
| 18 | SCALE_4_3, |
| 19 | SCALE_4_3v2, |
| 20 | SCALE_FULLSCREEN, |
| 21 | SCALE_CUSTOM, |
| 22 | }; |
| 23 | |
| 24 | enum g_soft_filter_opts { |
| 25 | SOFT_FILTER_NONE, |
| 26 | SOFT_FILTER_SCALE2X, |
| 27 | SOFT_FILTER_EAGLE2X, |
| 28 | }; |
| 29 | |
| 30 | extern int g_opts, g_scaler, g_gamma; |
| 31 | extern int soft_scaling, analog_deadzone; |
| 32 | extern int soft_filter; |
| 33 | |
| 34 | extern int g_menuscreen_w; |
| 35 | extern int g_menuscreen_h; |