mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Make sure extra data is initialized in DirectorySaveDataFileSystem
This commit is contained in:
parent
a1477cc9f9
commit
e99d05cc84
1 changed files with 2 additions and 2 deletions
|
@ -251,14 +251,14 @@ namespace LibHac.FsSystem
|
|||
|
||||
// Only the working directory is needed for non-journaling savedata
|
||||
if (!_isJournalingSupported)
|
||||
return Result.Success;
|
||||
return InitializeExtraData();
|
||||
|
||||
rc = _baseFs.GetEntryType(out _, CommittedDirectoryPath);
|
||||
|
||||
if (rc.IsSuccess())
|
||||
{
|
||||
if (!_isJournalingEnabled)
|
||||
return Result.Success;
|
||||
return InitializeExtraData();
|
||||
|
||||
rc = SynchronizeDirectory(WorkingDirectoryPath, CommittedDirectoryPath);
|
||||
if (rc.IsFailure()) return rc;
|
||||
|
|
Loading…
Reference in a new issue