mirror of https://github.com/stella-emu/stella.git
prevent that repeated keys are going to emulation core
This commit is contained in:
parent
dd88e3a7fe
commit
795c892549
|
@ -865,6 +865,7 @@ void EventHandler::handleEvent(Event::Type event, bool pressed, bool repeat)
|
|||
}
|
||||
|
||||
// Otherwise, pass it to the emulation core
|
||||
if (!repeat)
|
||||
myEvent.set(event, pressed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue