mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-19 02:12:46 +01:00
Set currentKeyState_ to false when resetting the key states.
This commit is contained in:
@@ -238,8 +238,10 @@ void UserInput::resetStates()
|
||||
{
|
||||
keyHandlers_[i]->reset();
|
||||
}
|
||||
currentKeyState_[i] = false;
|
||||
}
|
||||
}
|
||||
|
||||
bool UserInput::update(SDL_Event &e)
|
||||
{
|
||||
bool updated = false;
|
||||
|
||||
Reference in New Issue
Block a user