mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Minor cleanup
This commit is contained in:
parent
181ac68939
commit
ef6ea1bd23
@ -275,8 +275,7 @@ namespace WindowsRawInput {
|
||||
|
||||
if (key.keyCode) {
|
||||
NativeKey(key);
|
||||
|
||||
auto keyDown = std::find(keyboardKeysDown.begin(), keyboardKeysDown.end(), key.keyCode);
|
||||
auto keyDown = keyboardKeysDown.find(key.keyCode);
|
||||
if (keyDown != keyboardKeysDown.end())
|
||||
keyboardKeysDown.erase(keyDown);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user