| 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_2_2, |
| 19 | SCALE_4_3, |
| 20 | SCALE_4_3v2, |
| 21 | SCALE_FULLSCREEN, |
| 22 | SCALE_CUSTOM, |
| 23 | }; |
| 24 | |
| 25 | enum g_soft_filter_opts { |
| 26 | SOFT_FILTER_NONE, |
| 27 | SOFT_FILTER_SCALE2X, |
| 28 | SOFT_FILTER_EAGLE2X, |
| 29 | }; |
| 30 | |
| 31 | extern int g_opts, g_scaler, g_gamma; |
| 32 | extern int scanlines, scanline_level; |
| 33 | extern int soft_scaling, analog_deadzone; |
| 34 | extern int soft_filter; |
| 35 | |
| 36 | extern int g_menuscreen_w; |
| 37 | extern int g_menuscreen_h; |