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 committed by Sean Maas
parent cde2d945e2
commit 1874676ec7

View file

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