mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 09:48:51 +01:00
Set currentKeyState_ to false when resetting the key states.
This commit is contained in:
parent
961a3a838d
commit
04bf1a2644
@ -238,8 +238,10 @@ void UserInput::resetStates()
|
||||
{
|
||||
keyHandlers_[i]->reset();
|
||||
}
|
||||
currentKeyState_[i] = false;
|
||||
}
|
||||
}
|
||||
|
||||
bool UserInput::update(SDL_Event &e)
|
||||
{
|
||||
bool updated = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user