prevent that repeated keys are going to emulation core

This commit is contained in:
thrust26 2019-06-01 23:12:50 +02:00
parent dd88e3a7fe
commit 795c892549
1 changed files with 2 additions and 1 deletions

View File

@ -865,7 +865,8 @@ void EventHandler::handleEvent(Event::Type event, bool pressed, bool repeat)
}
// Otherwise, pass it to the emulation core
myEvent.set(event, pressed);
if (!repeat)
myEvent.set(event, pressed);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -