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