3
0
Fork 0
forked from suyu/suyu

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

This fixes a regression.
This commit is contained in:
Subv 2015-12-28 14:25:32 -05:00
parent d26c6b3212
commit 95380d8950

View file

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