mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Make StorageStream check the read/write status of base Storages
This commit is contained in:
parent
da9ecaec98
commit
ac6d528a30
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ namespace LibHac.IO
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool CanRead => true;
|
public override bool CanRead => (BaseStorage as Storage)?.CanRead ?? true;
|
||||||
public override bool CanSeek => true;
|
public override bool CanSeek => true;
|
||||||
public override bool CanWrite => true;
|
public override bool CanWrite => (BaseStorage as Storage)?.CanWrite ?? true;
|
||||||
public override long Length { get; }
|
public override long Length { get; }
|
||||||
public override long Position { get; set; }
|
public override long Position { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue