diff --git a/src/components/GuiGameList.cpp b/src/components/GuiGameList.cpp index 0fbc50184..94dc0dcae 100644 --- a/src/components/GuiGameList.cpp +++ b/src/components/GuiGameList.cpp @@ -1,6 +1,7 @@ #include "GuiGameList.h" #include "../InputManager.h" #include +#include GuiGameList::GuiGameList(SystemData* system) { @@ -33,7 +34,9 @@ void GuiGameList::onInput(InputManager::InputButton button, bool keyDown) { if(button == InputManager::BUTTON1 && keyDown) { + SDL_EnableKeyRepeat(0, 0); mSystem->launchGame(mList->getSelection()); + SDL_EnableKeyRepeat(500, 100); } }