(PS3) Don't assume slash is appended at the end of systemDirPath

This commit is contained in:
Twinaphex 2012-07-10 05:44:05 +02:00
parent 93cbc72733
commit af560abfa4

View File

@ -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);