diff options
author | Subv <subv2112@gmail.com> | 2016-01-16 23:01:01 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-03-20 20:52:26 +0100 |
commit | 3aa42627a3a35d8a4fb9acdcced24977d1f269cd (patch) | |
tree | 187e8911ae3b960c080f486bbf9fdbeeaea980bf /src/core/hle/service/cfg | |
parent | HLE/FS: Fixed creating the config savefile when it doesn't exist. (diff) | |
download | yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.gz yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.bz2 yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.lz yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.xz yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.zst yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/cfg/cfg.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index bb2c55612..525432957 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -310,6 +310,7 @@ ResultCode UpdateConfigNANDSavegame() { ResultCode FormatConfig() { ResultCode res = DeleteConfigNANDSaveFile(); + // The delete command fails if the file doesn't exist, so we have to check that too if (!res.IsSuccess() && res.description != ErrorDescription::FS_NotFound) return res; // Delete the old data |