diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index c6fc334..f38cd1a 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -252,7 +252,7 @@ void RetroFE::run() float lastTime = 0; float deltaTime = 0; SDL_Event e; - if (SDL_PollEvent(&e)) + while (SDL_PollEvent(&e)) { if(input_.update(e)) {