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:
commit
cd8c37bc07
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue