X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmenu.h;h=221be15c6edc5c862499a832283715b95dc6cf38;hp=3326b697840575793e9bc671620762833bd2c2cb;hb=0e2e3f498456d1175916ecd69d0a9e80e701e760;hpb=55b0eeea6028e00741e620d28ab3211c49b8515f diff --git a/frontend/menu.h b/frontend/menu.h index 3326b697..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,4 +14,23 @@ enum opts { OPT_TSGUN_NOTRIGGER = 1 << 4, }; -extern int g_opts, analog_deadzone; +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;