From 2d17de264fd31d662d4580a5f4bf268fa9ebd42a Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Tue, 30 Jul 2019 10:03:04 +0800 Subject: Make advanced gpu options target actual gpu plugin used - In the case of IOS, the core uses UNAI but can be built with dynarec or interpreter. Other platform does as well. So gpu-specific defines are added for actual gpu plugin used and compiled and then the specific gpu-only core options are shown or hidden based on this #define --- frontend/libretro.c | 2 +- frontend/libretro_core_options.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend') diff --git a/frontend/libretro.c b/frontend/libretro.c index 45c4c9c..86cd34e 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1633,7 +1633,7 @@ static void update_variables(bool in_flight) } #endif -#ifdef DRC_DISABLE +#ifdef GPU_PEOPS var.value = "NULL"; var.key = "pcsx_rearmed_gpu_peops_fix_0"; diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h index e6b5e72..680b252 100644 --- a/frontend/libretro_core_options.h +++ b/frontend/libretro_core_options.h @@ -421,11 +421,11 @@ struct retro_core_option_definition option_defs_us[] = { }, /* GPU PEOPS OPTIONS */ -#ifdef DRC_DISABLE +#ifdef GPU_PEOPS { "pcsx_rearmed_show_gpu_peops_settings", - "Show Advance GPU Settings", - "Enable or disable various GPU fixes. A core restart might be needed for settings to take effect. NOTE: Quick Menu must be toggled for this setting to take effect.", + "Advanced GPU P.E.Op.S. Settings", + "Shows or hides advanced GPU plugin settings. NOTE: Quick Menu must be toggled for this setting to take effect.", { { "disabled", NULL }, { "enabled", NULL }, -- cgit v1.2.3 From 059306fc8bb391b4afa4d84f1cf2247d5b22c8b8 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Tue, 30 Jul 2019 10:08:33 +0800 Subject: Silence this log message - Removing this log message since RETRO_ENVIRONMENT_SET_GEOMETRY will show width and height when there is a change from last callback. --- frontend/libretro.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'frontend') diff --git a/frontend/libretro.c b/frontend/libretro.c index 86cd34e..e48069a 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -191,8 +191,6 @@ static void vout_set_mode(int w, int h, int raw_w, int raw_h, int bpp) previous_width = vout_width; previous_height = vout_height; - SysPrintf("setting mode width: %d height %d\n", vout_width, vout_height); - struct retro_system_av_info info; retro_get_system_av_info(&info); environ_cb(RETRO_ENVIRONMENT_SET_GEOMETRY, &info.geometry); -- cgit v1.2.3