mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 09:42:55 +08:00
Fix crash on mobile releases when attempting to read any file
This commit is contained in:
parent
26b9352aeb
commit
66f314915d
@ -19,7 +19,7 @@ namespace osu.Game.IO
|
|||||||
|
|
||||||
public LineBufferedReader(Stream stream, bool leaveOpen = false)
|
public LineBufferedReader(Stream stream, bool leaveOpen = false)
|
||||||
{
|
{
|
||||||
streamReader = new StreamReader(stream, Encoding.UTF8, true, -1, leaveOpen);
|
streamReader = new StreamReader(stream, Encoding.UTF8, true, 1024, leaveOpen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user