Fix GsfInputStdio.MakeLocalCopy

This commit is contained in:
Matt Nadareski
2022-06-15 23:35:06 -07:00
parent 6e70991e86
commit dd5f7c4e0b

View File

@@ -59,7 +59,7 @@ namespace LibGSF.Input
while (true)
{
byte[] buf = new byte[4096];
int nread = stream.Read(buf, 1, buf.Length);
int nread = stream.Read(buf, 0, buf.Length);
if (nread > 0)
{