summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Subv2015-12-28 14:25:32 -0500
committerGravatar Subv2016-03-20 14:30:03 -0500
commit95380d895056d8f1336daec95c41c1b022ae2564 (patch)
tree9aadd5a085028ff9d8c1901107f0325fa165a995
parentHLE/FS: Implemented GetFormatInfo (diff)
downloadyuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.gz
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.xz
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.zip
HLE/FS: Fixed creating the config savefile when it doesn't exist.
This fixes a regression.
Diffstat (limited to '')
-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() {
310 310
311ResultCode FormatConfig() { 311ResultCode FormatConfig() {
312 ResultCode res = DeleteConfigNANDSaveFile(); 312 ResultCode res = DeleteConfigNANDSaveFile();
313 if (!res.IsSuccess()) 313 if (!res.IsSuccess() && res.description != ErrorDescription::FS_NotFound)
314 return res; 314 return res;
315 // Delete the old data 315 // Delete the old data
316 cfg_config_file_buffer.fill(0); 316 cfg_config_file_buffer.fill(0);