Merge pull request #8100 from flagrama/input-while-replaying-dtm

Clear existing GCPadStatus when playing back DTM files
This commit is contained in:
Connor McLaughlin 2019-05-14 18:14:31 +10:00 committed by GitHub
commit f43515ea76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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