diff --git a/src/LibHac/IO/NullFile.cs b/src/LibHac/IO/NullFile.cs index f3a7946f..c2f3337e 100644 --- a/src/LibHac/IO/NullFile.cs +++ b/src/LibHac/IO/NullFile.cs @@ -4,8 +4,12 @@ namespace LibHac.IO { public class NullFile : FileBase { - public NullFile() { } - public NullFile(long length) => Length = length; + public NullFile() + { + Mode = OpenMode.ReadWrite; + } + + public NullFile(long length) : this() => Length = length; private long Length { get; }