Investigate slow

This commit is contained in:
giongto35 2019-05-10 00:22:15 +08:00
parent 663551a22f
commit b108af3f54

View file

@ -87,7 +87,7 @@ func NewGameView(console *nes.Console, title, saveFile string, imageChannel chan
func (view *GameView) ListenToInputChannel() {
for {
// Adding ok here make thing slowdown
// TODO: Investigate
// TODO: Investigate slow
keysInBinary, ok := <-view.inputChannel
if !ok {
return