Browse Source

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

This fixes a regression.
nce_cpp
Subv 10 years ago
parent
commit
0e84970817
  1. 2
      src/core/hle/service/cfg/cfg.cpp

2
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);

Loading…
Cancel
Save