mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-12 04:46:39 +00:00
(RMenu) remove input_presets_dir variable
This commit is contained in:
parent
9abcd71e42
commit
ba837a74b4
@ -32,7 +32,6 @@ typedef struct
|
||||
char libretro_path[MAXIMUM_PATH];
|
||||
char filebrowser_startup_dir[MAXIMUM_PATH];
|
||||
char filesystem_root_dir[MAXIMUM_PATH];
|
||||
char input_presets_dir[MAXIMUM_PATH];
|
||||
char port_dir[MAXIMUM_PATH];
|
||||
char savestate_dir[MAXIMUM_PATH];
|
||||
char sram_dir[MAXIMUM_PATH];
|
||||
|
@ -263,7 +263,6 @@ static void get_environment_settings(int argc, char *argv[], void *args)
|
||||
snprintf(default_paths.savestate_dir, sizeof(default_paths.savestate_dir), "%s/savestates", default_paths.port_dir);
|
||||
strlcpy(default_paths.filesystem_root_dir, "/", sizeof(default_paths.filesystem_root_dir));
|
||||
snprintf(default_paths.filebrowser_startup_dir, sizeof(default_paths.filebrowser_startup_dir), default_paths.filesystem_root_dir);
|
||||
snprintf(default_paths.input_presets_dir, sizeof(default_paths.input_presets_dir), "%s/input", default_paths.port_dir);
|
||||
|
||||
#ifdef IS_SALAMANDER
|
||||
if (argc > 2 && argv[1] != NULL && argv[2] != NULL)
|
||||
@ -278,7 +277,6 @@ static void get_environment_settings(int argc, char *argv[], void *args)
|
||||
rarch_make_dir(default_paths.system_dir, "system_dir");
|
||||
rarch_make_dir(default_paths.savestate_dir, "savestate_dir");
|
||||
rarch_make_dir(default_paths.sram_dir, "sram_dir");
|
||||
rarch_make_dir(default_paths.input_presets_dir, "input_presets_dir");
|
||||
|
||||
config_load();
|
||||
|
||||
|
@ -275,7 +275,6 @@ static void get_environment_settings(int argc, char *argv[], void *args)
|
||||
|
||||
/* now we fill in all the variables */
|
||||
snprintf(default_paths.menu_border_file, sizeof(default_paths.menu_border_file), "%s/borders/Menu/main-menu_1080p.png", default_paths.core_dir);
|
||||
snprintf(default_paths.input_presets_dir, sizeof(default_paths.input_presets_dir), "%s/presets", default_paths.core_dir);
|
||||
snprintf(default_paths.border_dir, sizeof(default_paths.border_dir), "%s/borders", default_paths.core_dir);
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL)
|
||||
snprintf(g_settings.video.shader_dir, sizeof(g_settings.video.shader_dir), "%s/shaders", default_paths.core_dir);
|
||||
@ -293,7 +292,6 @@ static void get_environment_settings(int argc, char *argv[], void *args)
|
||||
rarch_make_dir(default_paths.system_dir, "system_dir");
|
||||
rarch_make_dir(default_paths.savestate_dir, "savestate_dir");
|
||||
rarch_make_dir(default_paths.sram_dir, "sram_dir");
|
||||
rarch_make_dir(default_paths.input_presets_dir, "input_presets_dir");
|
||||
|
||||
config_load();
|
||||
|
||||
|
@ -67,7 +67,6 @@ static void get_environment_settings(int argc, char *argv[])
|
||||
|
||||
/* now we fill in all the variables */
|
||||
snprintf(default_paths.menu_border_file, sizeof(default_paths.menu_border_file), "%s/borders/Menu/main-menu.png", default_paths.core_dir);
|
||||
snprintf(default_paths.input_presets_dir, sizeof(default_paths.input_presets_dir), "%s/presets", default_paths.core_dir);
|
||||
snprintf(default_paths.border_dir, sizeof(default_paths.border_dir), "%s/borders", default_paths.core_dir);
|
||||
snprintf(g_extern.config_path, sizeof(g_extern.config_path), "%s/retroarch.cfg", default_paths.port_dir);
|
||||
|
||||
@ -76,7 +75,6 @@ static void get_environment_settings(int argc, char *argv[])
|
||||
rarch_make_dir(default_paths.system_dir, "system_dir");
|
||||
rarch_make_dir(default_paths.savestate_dir, "savestate_dir");
|
||||
rarch_make_dir(default_paths.sram_dir, "sram_dir");
|
||||
rarch_make_dir(default_paths.input_presets_dir, "input_presets_dir");
|
||||
|
||||
config_load();
|
||||
|
||||
|
@ -261,7 +261,6 @@ static void get_environment_settings(int argc, char *argv[], void *args)
|
||||
rarch_make_dir(default_paths.system_dir, "system_dir");
|
||||
rarch_make_dir(default_paths.savestate_dir, "savestate_dir");
|
||||
rarch_make_dir(default_paths.sram_dir, "sram_dir");
|
||||
rarch_make_dir(default_paths.input_presets_dir, "input_presets_dir");
|
||||
|
||||
config_load();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user