diff options
author | qwx <devnull@localhost> | 2018-06-09 07:12:43 +0200 |
---|---|---|
committer | qwx <devnull@localhost> | 2018-06-09 07:12:43 +0200 |
commit | 198f10bb25382882c4abd9081dac4dd74dbdbb9f (patch) | |
tree | 84fe7f0dc1966c0408fe1e034ba450aa9878797b /sys/src/games | |
parent | 54ac2c28712e64c895679cd09e90dbe8c1288407 (diff) |
snes: fix input botch 2
Diffstat (limited to 'sys/src/games')
-rw-r--r-- | sys/src/games/snes/snes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/snes/snes.c b/sys/src/games/snes/snes.c index 769ecb473..7d37fcbc3 100644 --- a/sys/src/games/snes/snes.c +++ b/sys/src/games/snes/snes.c @@ -220,7 +220,7 @@ flush(void) extern Rectangle picr; extern Mousectl *mc; flushmouse(!mouse); - while(nbrecv(mc->c, &m) > 0){ + while(mouse && nbrecv(mc->c, &m) > 0){ if(ptinrect(m.xy, picr)){ p = subpt(m.xy, picr.min); p.x /= scale; |