From e99d05cc8436b954ccd84c716b2ec114d1c720d3 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Tue, 18 May 2021 20:28:33 -0700 Subject: [PATCH] Make sure extra data is initialized in DirectorySaveDataFileSystem --- src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs b/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs index 3d9b4159..b0594734 100644 --- a/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs +++ b/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs @@ -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;