summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-12-28 14:25:32 -0500
committerSubv <subv2112@gmail.com>2016-03-20 14:30:03 -0500
commit95380d895056d8f1336daec95c41c1b022ae2564 (patch)
tree9aadd5a085028ff9d8c1901107f0325fa165a995 /src
parentd26c6b3212ed36970410814593ee5ec082b1d95a (diff)
HLE/FS: Fixed creating the config savefile when it doesn't exist.
This fixes a regression.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/cfg/cfg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index 7bcedc0ae..bb2c55612 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -310,7 +310,7 @@ ResultCode UpdateConfigNANDSavegame() {
ResultCode FormatConfig() {
ResultCode res = DeleteConfigNANDSaveFile();
- if (!res.IsSuccess())
+ if (!res.IsSuccess() && res.description != ErrorDescription::FS_NotFound)
return res;
// Delete the old data
cfg_config_file_buffer.fill(0);