mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Make sure extra data is initialized in DirectorySaveDataFileSystem
This commit is contained in:
parent
a1477cc9f9
commit
e99d05cc84
@ -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…
x
Reference in New Issue
Block a user