X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.h;h=9defc1ea8a4d5aaac0207eebd819ee512014a91c;hb=2d3c4d02ae7877c8b28c3f8e7578dfc0f98bacd6;hp=7e401a349b71391d7b0756514596fe6a92a0bf50;hpb=90f1d26c2e771993c1a563f4c0ea81432bd9fc5e;p=pcsx_rearmed.git diff --git a/frontend/menu.h b/frontend/menu.h index 7e401a34..9defc1ea 100644 --- a/frontend/menu.h +++ b/frontend/menu.h @@ -1,15 +1,37 @@ void menu_init(void); -void menu_prepare_emu(void); +void menu_prepare_emu(int ndrc_config_changed); void menu_loop(void); void menu_finish(void); void menu_notify_mode_change(int w, int h, int bpp); -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_2_2, + 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, g_gamma; +extern int scanlines, scanline_level; +extern int soft_scaling, analog_deadzone; +extern int soft_filter; + +extern int g_menuscreen_w; +extern int g_menuscreen_h;