X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.h;h=221be15c6edc5c862499a832283715b95dc6cf38;hb=2857d72e4ca743bba3cf55e298949e24d97dff02;hp=7f366df6ce848be8cb9b6e797755db4f23266413;hpb=a72ac8031937bb80f36e9392d07724a954995029;p=pcsx_rearmed.git diff --git a/frontend/menu.h b/frontend/menu.h index 7f366df6..221be15c 100644 --- a/frontend/menu.h +++ b/frontend/menu.h @@ -4,8 +4,9 @@ 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); -enum opts { +enum g_opts_opts { OPT_SHOWFPS = 1 << 0, OPT_SHOWCPU = 1 << 1, OPT_NO_FRAMELIM = 1 << 2, @@ -13,5 +14,23 @@ enum opts { OPT_TSGUN_NOTRIGGER = 1 << 4, }; -extern int g_opts; +enum g_scaler_opts { + SCALE_1_1, + SCALE_4_3, + SCALE_4_3v2, + SCALE_FULLSCREEN, + SCALE_CUSTOM, +}; + +enum g_soft_filter_opts { + SOFT_FILTER_NONE, + SOFT_FILTER_SCALE2X, + SOFT_FILTER_EAGLE2X, +}; + +extern int g_opts, g_scaler; extern int soft_scaling, analog_deadzone; +extern int filter, soft_filter; + +extern int g_menuscreen_w; +extern int g_menuscreen_h;