mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-15 18:49:38 +01:00
Cleared the status of the GC Adapter before populating it with new data
This commit is contained in:
1 parent
7f7973efa5
commit
939159cd71
1 file changed
+1
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user