diff options
author | neonloop | 2021-03-14 00:03:40 +0000 |
---|---|---|
committer | neonloop | 2021-03-14 00:03:40 +0000 |
commit | fbac0d5692c5343dd163ba289f80d167dd8582c7 (patch) | |
tree | 8a41da36bf49881c35118cdd7e88812ea47d3b47 /frontend/menu.c | |
parent | e3e1b865f7c06f57918b97f7293b5b2959fb7b7d (diff) | |
download | pcsx_rearmed-fbac0d5692c5343dd163ba289f80d167dd8582c7.tar.gz pcsx_rearmed-fbac0d5692c5343dd163ba289f80d167dd8582c7.tar.bz2 pcsx_rearmed-fbac0d5692c5343dd163ba289f80d167dd8582c7.zip |
Initial trimui s support
Diffstat (limited to 'frontend/menu.c')
-rw-r--r-- | frontend/menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/menu.c b/frontend/menu.c index bd56cf4..9fa5fd2 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -123,6 +123,7 @@ static int bios_sel, gpu_plugsel, spu_plugsel; #define MENU_SHOW_MINIMIZE 0 #define MENU_SHOW_FULLSCREEN 1 #define MENU_SHOW_VOLUME 0 +#define MENU_SHOW_DISPLAY 1 #endif static int min(int x, int y) { return x < y ? x : y; } @@ -2515,9 +2516,6 @@ void menu_init(void) exit(1); } - emu_make_path(buff, "skin/background.png", sizeof(buff)); - readpng(g_menubg_src_ptr, buff, READPNG_BG, g_menuscreen_w, g_menuscreen_h); - i = plat_target.cpu_clock_set != NULL && plat_target.cpu_clock_get != NULL && cpu_clock_st > 0; me_enable(e_menu_gfx_options, MA_OPT_CPU_CLOCKS, i); @@ -2545,6 +2543,7 @@ void menu_init(void) me_enable(e_menu_keyconfig, MA_CTRL_NUBS_BTNS, MENU_SHOW_NUBS_BTNS); me_enable(e_menu_keyconfig, MA_CTRL_VIBRATION, MENU_SHOW_VIBRATION); me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, MENU_SHOW_DEADZONE); + me_enable(e_menu_options, MA_OPT_DISP_OPTS, MENU_SHOW_DISPLAY); } void menu_notify_mode_change(int w, int h, int bpp) |