Merge pull request #458 from dmorilha/fixes-for-rpi-compilation
[pcsx_rearmed.git] / frontend / menu.h
CommitLineData
908e426c 1#ifndef __MENU_H__
2#define __MENU_H__
3
3c70c47b 4void menu_init(void);
5void menu_prepare_emu(void);
6void menu_loop(void);
201c21e2 7void menu_finish(void);
3c70c47b 8
bd6267e6 9void menu_notify_mode_change(int w, int h, int bpp);
10
9e5ac38f 11enum g_opts_opts {
bd6267e6 12 OPT_SHOWFPS = 1 << 0,
13 OPT_SHOWCPU = 1 << 1,
bce6b056 14 OPT_NO_FRAMELIM = 1 << 2,
90f1d26c 15 OPT_SHOWSPU = 1 << 3,
4c08b9e7 16 OPT_TSGUN_NOTRIGGER = 1 << 4,
bd6267e6 17};
18
9e5ac38f 19enum g_scaler_opts {
20 SCALE_1_1,
efcf1f73 21 SCALE_2_2,
9e5ac38f 22 SCALE_4_3,
23 SCALE_4_3v2,
24 SCALE_FULLSCREEN,
25 SCALE_CUSTOM,
26};
27
fa56d360 28enum g_soft_filter_opts {
29 SOFT_FILTER_NONE,
30 SOFT_FILTER_SCALE2X,
31 SOFT_FILTER_EAGLE2X,
32};
33
cc56203b 34extern int g_opts, g_scaler, g_gamma;
35d3fd2e 35extern int scanlines, scanline_level;
a72ac803 36extern int soft_scaling, analog_deadzone;
5b9aa749 37extern int soft_filter;
9e5ac38f 38
39extern int g_menuscreen_w;
40extern int g_menuscreen_h;
908e426c 41
42#endif /* __MENU_H__ */