summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-12-28 20:25:32 +0100
committerSubv <subv2112@gmail.com>2016-03-20 20:30:03 +0100
commit95380d895056d8f1336daec95c41c1b022ae2564 (patch)
tree9aadd5a085028ff9d8c1901107f0325fa165a995 /src/core/hle/service/cfg
parentHLE/FS: Implemented GetFormatInfo (diff)
downloadyuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.gz
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.bz2
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.lz
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.xz
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.tar.zst
yuzu-95380d895056d8f1336daec95c41c1b022ae2564.zip
Diffstat (limited to 'src/core/hle/service/cfg')
-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);