mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 05:40:14 +00:00
HLE/FS: Fixed creating the config savefile when it doesn't exist.
This fixes a regression.
This commit is contained in:
parent
cde2d945e2
commit
1874676ec7
@ -309,7 +309,7 @@ ResultCode UpdateConfigNANDSavegame() {
|
|||||||
|
|
||||||
ResultCode FormatConfig() {
|
ResultCode FormatConfig() {
|
||||||
ResultCode res = DeleteConfigNANDSaveFile();
|
ResultCode res = DeleteConfigNANDSaveFile();
|
||||||
if (!res.IsSuccess())
|
if (!res.IsSuccess() && res.description != ErrorDescription::FS_NotFound)
|
||||||
return res;
|
return res;
|
||||||
// Delete the old data
|
// Delete the old data
|
||||||
cfg_config_file_buffer.fill(0);
|
cfg_config_file_buffer.fill(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user