mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
paths.c - cleanups
This commit is contained in:
parent
46699fcf80
commit
9d5684639e
1 changed files with 3 additions and 4 deletions
7
paths.c
7
paths.c
|
@ -204,7 +204,7 @@ void path_set_redirect(void)
|
|||
}
|
||||
}
|
||||
|
||||
dir_set(RARCH_DIR_CURRENT_SAVEFILE, new_savefile_dir);
|
||||
dir_set(RARCH_DIR_CURRENT_SAVEFILE, new_savefile_dir);
|
||||
dir_set(RARCH_DIR_CURRENT_SAVESTATE, new_savestate_dir);
|
||||
}
|
||||
|
||||
|
@ -212,9 +212,8 @@ void path_set_basename(const char *path)
|
|||
{
|
||||
char *dst = NULL;
|
||||
|
||||
path_set(RARCH_PATH_CONTENT, path);
|
||||
|
||||
strlcpy(path_main_basename, path, sizeof(path_main_basename));
|
||||
path_set(RARCH_PATH_CONTENT, path);
|
||||
path_set(RARCH_PATH_BASENAME, path);
|
||||
|
||||
#ifdef HAVE_COMPRESSION
|
||||
/* Removing extension is a bit tricky for compressed files.
|
||||
|
|
Loading…
Add table
Reference in a new issue