mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Retrun 0 bytes for reads way past end of file.
This commit is contained in:
parent
94e7051c82
commit
7042002903
@ -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…
x
Reference in New Issue
Block a user