Remove unused GCPadStatus.err

This commit is contained in:
Michael Maltese 2017-02-09 14:49:20 -08:00 committed by Léo Lam
commit bb1c794657
3 changed files with 0 additions and 17 deletions

View file

@ -1110,12 +1110,6 @@ void PlayController(GCPadStatus* PadStatus, int controllerID)
return;
}
// dtm files don't save the mic button or error bit. not sure if they're actually used, but better
// safe than sorry
signed char e = PadStatus->err;
memset(PadStatus, 0, sizeof(GCPadStatus));
PadStatus->err = e;
memcpy(&s_padState, &s_temp_input[s_currentByte], sizeof(ControllerState));
s_currentByte += sizeof(ControllerState);