mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Move variable around
This commit is contained in:
parent
de9b1dfb76
commit
147bac9800
3
paths.c
3
paths.c
@ -58,7 +58,6 @@ void path_set_redirect(void)
|
|||||||
uint32_t global_library_name_hash = 0;
|
uint32_t global_library_name_hash = 0;
|
||||||
bool check_global_library_name_hash = false;
|
bool check_global_library_name_hash = false;
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
rarch_system_info_t *info = NULL;
|
rarch_system_info_t *info = NULL;
|
||||||
const char *old_savefile_dir = NULL;
|
const char *old_savefile_dir = NULL;
|
||||||
const char *old_savestate_dir = NULL;
|
const char *old_savestate_dir = NULL;
|
||||||
@ -93,6 +92,8 @@ void path_set_redirect(void)
|
|||||||
|
|
||||||
if (check_global_library_name_hash)
|
if (check_global_library_name_hash)
|
||||||
{
|
{
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
/* per-core saves: append the library_name to the save location */
|
/* per-core saves: append the library_name to the save location */
|
||||||
if (settings->sort_savefiles_enable
|
if (settings->sort_savefiles_enable
|
||||||
&& !string_is_empty(old_savefile_dir))
|
&& !string_is_empty(old_savefile_dir))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user