Merge pull request #6547 from fr500/master

add comment
This commit is contained in:
Andrés 2018-04-08 17:22:32 -05:00 committed by GitHub
commit 47a528801d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,8 @@ void input_mapper_poll(input_mapper_t *handle)
0, 0, RETRO_DEVICE_KEYBOARD); 0, 0, RETRO_DEVICE_KEYBOARD);
key_event[j] = true; key_event[j] = true;
} }
/* key_event tracks if a key is pressed for ANY PLAYER, so we must check
if the key was used by any player before releasing */
else if (!key_event[j]) else if (!key_event[j])
{ {
input_keyboard_event(false, input_keyboard_event(false,