mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
835497edd3
commit
96012b661f
@ -97,6 +97,9 @@ func (m *mux) Read(b []byte) (int, error) {
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
if l > len(buf)*2 {
|
||||
l = len(buf) * 2
|
||||
}
|
||||
b16s = append(b16s, buf)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user