From af560abfa49a684ec2342cf9cfdbd4f503d018f2 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Tue, 10 Jul 2012 05:44:05 +0200 Subject: [PATCH] (PS3) Don't assume slash is appended at the end of systemDirPath --- ps3/frontend/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps3/frontend/main.c b/ps3/frontend/main.c index 54779b33c3..1a14e5b68f 100644 --- a/ps3/frontend/main.c +++ b/ps3/frontend/main.c @@ -263,7 +263,7 @@ static void get_environment_settings(int argc, char *argv[]) RARCH_LOG("usrDirPath : [%s].\n", usrDirPath); } - snprintf(systemDirPath, sizeof(systemDirPath), "%s/%s/system/", usrDirPath, EMULATOR_CORE_DIR); + snprintf(systemDirPath, sizeof(systemDirPath), "%s/%s/system", usrDirPath, EMULATOR_CORE_DIR); /* now we fill in all the variables */ snprintf(DEFAULT_PRESET_FILE, sizeof(DEFAULT_PRESET_FILE), "%s/%s/presets/stock.conf", usrDirPath, EMULATOR_CORE_DIR);