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);