Fix NullFile not having an access mode set

This commit is contained in:
Alex Barney 2019-03-11 22:39:41 -05:00
parent 7bb99ff926
commit 06fda75ab9

View file

@ -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; }