aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
diff options
context:
space:
mode:
authorCameron Cawley2019-09-14 22:50:34 +0100
committerEugene Sandulenko2019-09-15 00:07:46 +0200
commit410923351b5c08395828ef42ebf1a74dd891e727 (patch)
tree171090d22dbb0e5aca9419459db5f735d67abdf0 /backends/saves
parente7d331fe9401590e0782080a13dc4d3a741bde99 (diff)
downloadscummvm-rg350-410923351b5c08395828ef42ebf1a74dd891e727.tar.gz
scummvm-rg350-410923351b5c08395828ef42ebf1a74dd891e727.tar.bz2
scummvm-rg350-410923351b5c08395828ef42ebf1a74dd891e727.zip
Revert "COMMON: Implement FSNode::createDirectoryRecursive()"
This reverts commit aca627bec7b407790d78a64df984344ff454c15b.
Diffstat (limited to 'backends/saves')
-rw-r--r--backends/saves/default/default-saves.cpp2
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()) {