Merge pull request #2145 from skidau/GC-Adapter-status-fix

Cleared the status of the GC Adapter before populating it with new data
This commit is contained in:
skidau 2015-03-02 12:18:52 +11:00
commit cd8c37bc07
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ void Input(int chan, GCPadStatus* pad)
if (s_controller_type[chan] != CONTROLLER_NONE)
{
memset(pad, 0, sizeof(*pad));
u8 b1 = controller_payload_copy[1 + (9 * chan) + 1];
u8 b2 = controller_payload_copy[1 + (9 * chan) + 2];