From 1874676ec7c5632877cdf0b27d4cd69b69994491 Mon Sep 17 00:00:00 2001 From: Subv Date: Mon, 28 Dec 2015 14:25:32 -0500 Subject: [PATCH] HLE/FS: Fixed creating the config savefile when it doesn't exist. This fixes a regression. --- src/core/hle/service/cfg/cfg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index ff2133dac..7bd949604 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -309,7 +309,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);