snes: fix input botch 2

This commit is contained in:
qwx 2018-06-09 07:12:43 +02:00
parent 54ac2c2871
commit 198f10bb25

View file

@ -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;