diff --git a/source/ngc/preferences.cpp b/source/ngc/preferences.cpp index baf55df..8773c8c 100644 --- a/source/ngc/preferences.cpp +++ b/source/ngc/preferences.cpp @@ -563,7 +563,7 @@ SavePrefs (bool silent) } else if(appPath[0] != 0) { - sprintf(filepath, "%s%s", appPath, PREF_FILE_NAME); + sprintf(filepath, "%s/%s", appPath, PREF_FILE_NAME); FindDevice(filepath, &device); } else @@ -697,7 +697,7 @@ bool SavePalettes(bool silent) } else if(appPath[0] != 0) { - sprintf(filepath, "%s%s", appPath, PAL_FILE_NAME); + sprintf(filepath, "%s/%s", appPath, PAL_FILE_NAME); FindDevice(filepath, &device); } else