mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(GX) Build fixes/cleanups
This commit is contained in:
parent
2cb8d06c7a
commit
126e115abd
@ -86,7 +86,7 @@ static void find_and_set_first_file(char *path, size_t sizeof_path, const char *
|
||||
find_first_libretro_core(first_file, sizeof(first_file),
|
||||
g_defaults.core_dir, ext);
|
||||
|
||||
if (first_file)
|
||||
if (first_file[0] != '\0')
|
||||
{
|
||||
fill_pathname_join(path, g_defaults.core_dir, first_file, sizeof_path);
|
||||
RARCH_LOG("libretro_path now set to: %s.\n", path);
|
||||
|
@ -2966,19 +2966,17 @@ static unsigned menu_common_shader_manager_get_type(const struct gfx_shader *sha
|
||||
static int menu_common_shader_manager_setting_toggle(unsigned id,
|
||||
unsigned action, rarch_setting_t *setting)
|
||||
{
|
||||
rarch_setting_t *setting_data, *current_setting;
|
||||
if (!driver.menu)
|
||||
{
|
||||
RARCH_ERR("Cannot toggle shader setting, menu handle is not initialized.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
(void)id;
|
||||
(void)action;
|
||||
|
||||
setting_data = (rarch_setting_t *)setting_data_get_list();
|
||||
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
rarch_setting_t *current_setting;
|
||||
|
||||
rarch_setting_t *setting_data = (rarch_setting_t *)setting_data_get_list();
|
||||
|
||||
unsigned dist_shader = id - MENU_SETTINGS_SHADER_0;
|
||||
unsigned dist_filter = id - MENU_SETTINGS_SHADER_0_FILTER;
|
||||
unsigned dist_scale = id - MENU_SETTINGS_SHADER_0_SCALE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user