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