mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
bd2e9a2745
commit
77b488c42a
@ -87,6 +87,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