1
0
Fork 0
forked from len0rd/rockbox

Fix bug #1174245: Win32 simulator didn't keep track of pressed keys properly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6852 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-06-24 09:19:45 +00:00
parent 7bc6898e53
commit bd2bfe9993

View file

@ -143,7 +143,7 @@ void button_event(int key, bool pressed)
if (pressed)
btn |= new_btn;
else
btn &= !new_btn;
btn &= ~new_btn;
/* Lots of stuff copied from real button.c. Not good, I think... */