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:
parent
7bc6898e53
commit
bd2bfe9993
1 changed files with 1 additions and 1 deletions
|
|
@ -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... */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue