X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmenu.h;h=9d60e882203443a0c08a9cd847de803076fb58aa;hp=2062acdf6e220b625d89ebd70ad7d119c9499b52;hb=HEAD;hpb=9e5ac38fda66536f2a9e6dd2a747ae37538c3638 diff --git a/frontend/menu.h b/frontend/menu.h index 2062acdf..9d60e882 100644 --- a/frontend/menu.h +++ b/frontend/menu.h @@ -1,10 +1,13 @@ +#ifndef __MENU_H__ +#define __MENU_H__ + void menu_init(void); void menu_prepare_emu(void); void menu_loop(void); void menu_finish(void); void menu_notify_mode_change(int w, int h, int bpp); -void menu_set_filter_list(void *filters); +int menu_load_config(int is_game); enum g_opts_opts { OPT_SHOWFPS = 1 << 0, @@ -16,15 +19,25 @@ enum g_opts_opts { enum g_scaler_opts { SCALE_1_1, + SCALE_2_2, SCALE_4_3, SCALE_4_3v2, SCALE_FULLSCREEN, SCALE_CUSTOM, }; -extern int g_opts, g_scaler; +enum g_soft_filter_opts { + SOFT_FILTER_NONE, + SOFT_FILTER_SCALE2X, + SOFT_FILTER_EAGLE2X, +}; + +extern int g_opts, g_scaler, g_gamma; +extern int scanlines, scanline_level; extern int soft_scaling, analog_deadzone; -extern int filter; +extern int soft_filter; extern int g_menuscreen_w; extern int g_menuscreen_h; + +#endif /* __MENU_H__ */