Explorar o código

HLE/FS: Fixed creating the config savefile when it doesn't exist.

This fixes a regression.
Subv %!s(int64=10) %!d(string=hai) anos
pai
achega
95380d8950
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/service/cfg/cfg.cpp

+ 1 - 1
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);