mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Retrun 0 bytes for reads way past end of file.
This commit is contained in:
parent
94e7051c82
commit
7042002903
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ namespace DiscUtils.Fat
|
|||
|
||||
if (_position > _length)
|
||||
{
|
||||
throw new IOException("Attempt to read beyond end of file");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (count < 0)
|
||||
|
|
Loading…
Reference in a new issue