X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.h;h=221be15c6edc5c862499a832283715b95dc6cf38;hb=2857d72e4ca743bba3cf55e298949e24d97dff02;hp=d8aa8921b412aef46fe8ab8014d5cf9fbf6e236c;hpb=bce6b05695beb988b607eb1dd82c27c1ed841faa;p=pcsx_rearmed.git diff --git a/frontend/menu.h b/frontend/menu.h index d8aa8921..221be15c 100644 --- a/frontend/menu.h +++ b/frontend/menu.h @@ -4,11 +4,33 @@ 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, + OPT_SHOWSPU = 1 << 3, + 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;