mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-02 22:28:54 +00:00
Remove unused GCPadStatus.err
This commit is contained in:
parent
80bcc0d58d
commit
bb1c794657
3 changed files with 0 additions and 17 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue