diff --git a/retroarch.c b/retroarch.c index a967c43d0c..7ece42289c 100644 --- a/retroarch.c +++ b/retroarch.c @@ -355,7 +355,7 @@ void set_paths_redirect(const char *path) } /* per-core states: append the library_name to the save location */ - if (settings->sort_savestates_enable) + if (settings->sort_savestates_enable && global->savefile_dir[0] != '\0') { strlcpy(orig_savestate_dir, global->savestate_dir,