Remove unused GCPadStatus.err

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

View File

@ -174,8 +174,6 @@ InputConfig* GetConfig()
void GetStatus()
{
s_hotkey.err = PAD_ERR_NONE;
// Get input
static_cast<HotkeyManager*>(s_config.GetController(0))->GetInput(&s_hotkey);
}

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);