diff options
Diffstat (limited to 'backends/saves')
-rw-r--r-- | backends/saves/default/default-saves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp index ee54557a77..17e888175c 100644 --- a/backends/saves/default/default-saves.cpp +++ b/backends/saves/default/default-saves.cpp @@ -63,7 +63,7 @@ DefaultSaveFileManager::DefaultSaveFileManager(const Common::String &defaultSave void DefaultSaveFileManager::checkPath(const Common::FSNode &dir) { clearError(); if (!dir.exists()) { - if (!dir.createDirectoryRecursive()) { + if (!dir.createDirectory()) { setError(Common::kPathDoesNotExist, "Failed to create directory '"+dir.getPath()+"'"); } } else if (!dir.isDirectory()) { |