mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Backports/rewrites wmarquesr - pt. 6
This commit is contained in:
parent
f98eef8a53
commit
b9bb4498d8
15
retroarch.c
15
retroarch.c
@ -345,9 +345,10 @@ const char *rarch_get_current_savefile_dir(void)
|
||||
|
||||
void set_paths_redirect(const char *path)
|
||||
{
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
rarch_system_info_t *info = rarch_system_info_get_ptr();
|
||||
bool check_global_library_name_hash = false;
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
rarch_system_info_t *info = rarch_system_info_get_ptr();
|
||||
|
||||
uint32_t global_library_name_hash = ((global && info->info.library_name &&
|
||||
(info->info.library_name[0] != '\0'))
|
||||
@ -361,11 +362,13 @@ void set_paths_redirect(const char *path)
|
||||
global->dir.savestate,
|
||||
sizeof(current_savestate_dir));
|
||||
|
||||
if(global_library_name_hash != 0
|
||||
check_global_library_name_hash = (global_library_name_hash != 0);
|
||||
#ifdef HAVE_MENU
|
||||
&& (global_library_name_hash != MENU_VALUE_NO_CORE)
|
||||
check_global_library_name_hash = check_global_library_name_hash &&
|
||||
(global_library_name_hash != MENU_VALUE_NO_CORE);
|
||||
#endif
|
||||
)
|
||||
|
||||
if (check_global_library_name_hash)
|
||||
{
|
||||
/* per-core saves: append the library_name to the save location */
|
||||
if (settings->sort_savefiles_enable && global->dir.savefile[0] != '\0')
|
||||
|
Loading…
x
Reference in New Issue
Block a user