mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Fix NullFile not having an access mode set
This commit is contained in:
parent
7bb99ff926
commit
06fda75ab9
@ -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…
x
Reference in New Issue
Block a user