mirror of https://github.com/stella-emu/stella.git
fixed #984
This commit is contained in:
parent
caa8cb72c0
commit
a948a7a9f9
|
@ -355,11 +355,10 @@ void DialogContainer::handleJoyBtnEvent(int stick, int button, bool pressed)
|
|||
myCurrentButtonDown.stick = myCurrentButtonDown.button = -1;
|
||||
myButtonRepeatTime = myButtonLongPressTime = 0;
|
||||
}
|
||||
if(myIgnoreButtonUp)
|
||||
myIgnoreButtonUp = false;
|
||||
else
|
||||
if(!myIgnoreButtonUp)
|
||||
activeDialog->handleJoyUp(stick, button);
|
||||
}
|
||||
myIgnoreButtonUp = false;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue