mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Remove unused GCPadStatus.err
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user