(RARCH_CONSOLE) Bad regression broke SYSTEM_DIRECTORY getter/setters for libretro

cores on consoles
This commit is contained in:
twinaphex 2012-10-22 18:54:21 +02:00
parent f59cb836d4
commit dc767c521e

View File

@ -695,7 +695,10 @@ static void set_paths(const char *path)
RARCH_LOG("Redirecting save state to \"%s\".\n", g_extern.savestate_name); RARCH_LOG("Redirecting save state to \"%s\".\n", g_extern.savestate_name);
} }
#if !defined(RARCH_CONSOLE) || !defined(HAVE_RMENU)
/* we DON'T want the system directory overwritten for the consoles */
fill_pathname_basedir(g_settings.system_directory, path, sizeof(g_settings.system_directory)); fill_pathname_basedir(g_settings.system_directory, path, sizeof(g_settings.system_directory));
#endif
#ifdef HAVE_CONFIGFILE #ifdef HAVE_CONFIGFILE
if (*g_extern.config_path && path_is_directory(g_extern.config_path)) if (*g_extern.config_path && path_is_directory(g_extern.config_path))