Clear existing GCPad state

This commit is contained in:
Vincent Cunningham 2019-05-14 02:53:17 -04:00
parent 1d5dd5db91
commit b35c58451a
No known key found for this signature in database
GPG key ID: 2F189694BB5A9932

View file

@ -1147,6 +1147,7 @@ void PlayController(GCPadStatus* PadStatus, int controllerID)
PadStatus->substickX = s_padState.CStickX; PadStatus->substickX = s_padState.CStickX;
PadStatus->substickY = s_padState.CStickY; PadStatus->substickY = s_padState.CStickY;
PadStatus->button = 0;
PadStatus->button |= PAD_USE_ORIGIN; PadStatus->button |= PAD_USE_ORIGIN;
if (s_padState.A) if (s_padState.A)