diff --git a/src/LibHac/Fs/Common/Path.cs b/src/LibHac/Fs/Common/Path.cs index 502e8033..f3acb9bc 100644 --- a/src/LibHac/Fs/Common/Path.cs +++ b/src/LibHac/Fs/Common/Path.cs @@ -177,6 +177,14 @@ public ref struct Path private int _writeBufferLength; private bool _isNormalized; + public Path() + { + _string = EmptyPath; + _writeBuffer = null; + _writeBufferLength = 0; + _isNormalized = false; + } + public void Dispose() { byte[] writeBuffer = Shared.Move(ref _writeBuffer);