From c03e4d3f71e6c3eae1464008bf952ce885c50d2e Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Sun, 15 Oct 2023 23:51:07 -0700 Subject: [PATCH] Fix a typo in GetPathLengthMax --- src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs b/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs index de747c48..79e17c23 100644 --- a/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs +++ b/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs @@ -133,7 +133,7 @@ public static class UserFileSystemPrivate int retValue = 0; bool hasRetValue = false; SetOrChangeMin(ref retValue, ref hasRetValue, attribute.DirectoryPathLengthMax, attribute.DirectoryPathLengthMaxHasValue); - SetOrChangeMin(ref retValue, ref hasRetValue, attribute.FilePathLengthMax, attribute.FileNameLengthMaxHasValue); + SetOrChangeMin(ref retValue, ref hasRetValue, attribute.FilePathLengthMax, attribute.FilePathLengthMaxHasValue); SetOrChangeMin(ref retValue, ref hasRetValue, FspPath.MaxLength, true); Assert.SdkAssert(hasRetValue);