From dc767c521ee79efa8ecf97b8bae9f24913d2a471 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 22 Oct 2012 18:54:21 +0200 Subject: [PATCH] (RARCH_CONSOLE) Bad regression broke SYSTEM_DIRECTORY getter/setters for libretro cores on consoles --- retroarch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retroarch.c b/retroarch.c index 14b937662f..6db7446fbe 100644 --- a/retroarch.c +++ b/retroarch.c @@ -695,7 +695,10 @@ static void set_paths(const char *path) 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)); +#endif #ifdef HAVE_CONFIGFILE if (*g_extern.config_path && path_is_directory(g_extern.config_path))