mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Cleanups
This commit is contained in:
parent
102ec37365
commit
8ae9f9daf3
@ -134,7 +134,6 @@ typedef enum
|
||||
MENU_SETTINGS_CORE_DISK_OPTIONS_DISK_IMAGE_APPEND,
|
||||
MENU_SETTINGS_CORE_DISK_OPTIONS_DISK_CYCLE_TRAY_STATUS,
|
||||
|
||||
// Match up with libretro order for simplicity.
|
||||
MENU_SETTINGS_BIND_BEGIN,
|
||||
MENU_SETTINGS_BIND_LAST = MENU_SETTINGS_BIND_BEGIN + RARCH_ANALOG_RIGHT_Y_MINUS,
|
||||
MENU_SETTINGS_BIND_ALL_LAST = MENU_SETTINGS_BIND_BEGIN + RARCH_MENU_TOGGLE,
|
||||
|
@ -23,6 +23,7 @@
|
||||
void menu_shader_manager_init(void *data)
|
||||
{
|
||||
char cgp_path[PATH_MAX_LENGTH];
|
||||
const char *ext;
|
||||
struct gfx_shader *shader = NULL;
|
||||
config_file_t *conf = NULL;
|
||||
const char *config_path = NULL;
|
||||
@ -58,8 +59,7 @@ void menu_shader_manager_init(void *data)
|
||||
strlcpy(menu->default_cgp, "menu.cgp", sizeof(menu->default_cgp));
|
||||
}
|
||||
|
||||
|
||||
const char *ext = path_get_extension(g_settings.video.shader_path);
|
||||
ext = path_get_extension(g_settings.video.shader_path);
|
||||
if (strcmp(ext, "glslp") == 0 || strcmp(ext, "cgp") == 0)
|
||||
{
|
||||
conf = config_file_new(g_settings.video.shader_path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user