Fix segfault when loading cue files from relative paths.
[pcsx_rearmed.git] / frontend / menu.h
CommitLineData
3c70c47b 1void menu_init(void);
2void menu_prepare_emu(void);
3void menu_loop(void);
201c21e2 4void menu_finish(void);
3c70c47b 5
bd6267e6 6void menu_notify_mode_change(int w, int h, int bpp);
7
9e5ac38f 8enum g_opts_opts {
bd6267e6 9 OPT_SHOWFPS = 1 << 0,
10 OPT_SHOWCPU = 1 << 1,
bce6b056 11 OPT_NO_FRAMELIM = 1 << 2,
90f1d26c 12 OPT_SHOWSPU = 1 << 3,
4c08b9e7 13 OPT_TSGUN_NOTRIGGER = 1 << 4,
bd6267e6 14};
15
9e5ac38f 16enum g_scaler_opts {
17 SCALE_1_1,
efcf1f73 18 SCALE_2_2,
9e5ac38f 19 SCALE_4_3,
20 SCALE_4_3v2,
21 SCALE_FULLSCREEN,
22 SCALE_CUSTOM,
23};
24
fa56d360 25enum g_soft_filter_opts {
26 SOFT_FILTER_NONE,
27 SOFT_FILTER_SCALE2X,
28 SOFT_FILTER_EAGLE2X,
29};
30
cc56203b 31extern int g_opts, g_scaler, g_gamma;
35d3fd2e 32extern int scanlines, scanline_level;
a72ac803 33extern int soft_scaling, analog_deadzone;
5b9aa749 34extern int soft_filter;
9e5ac38f 35
36extern int g_menuscreen_w;
37extern int g_menuscreen_h;