snes: fix input botch 2
This commit is contained in:
parent
54ac2c2871
commit
198f10bb25
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue