psxbios: assorted changes
[pcsx_rearmed.git] / frontend / menu.h
... / ...
CommitLineData
1#ifndef __MENU_H__
2#define __MENU_H__
3
4void menu_init(void);
5void menu_prepare_emu(void);
6void menu_loop(void);
7void menu_finish(void);
8
9void menu_notify_mode_change(int w, int h, int bpp);
10
11enum 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
19enum 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
28enum g_soft_filter_opts {
29 SOFT_FILTER_NONE,
30 SOFT_FILTER_SCALE2X,
31 SOFT_FILTER_EAGLE2X,
32};
33
34extern int g_opts, g_scaler, g_gamma;
35extern int scanlines, scanline_level;
36extern int soft_scaling, analog_deadzone;
37extern int soft_filter;
38
39extern int g_menuscreen_w;
40extern int g_menuscreen_h;
41
42#endif /* __MENU_H__ */