mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix NullFile not having an access mode set
This commit is contained in:
parent
7bb99ff926
commit
06fda75ab9
1 changed files with 6 additions and 2 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue