remove hacky old MicButton stuff
This commit is contained in:
parent
d8def74dd1
commit
856972f808
|
@ -239,8 +239,6 @@ bool CSIDevice_GCController::GetData(u32& _Hi, u32& _Low)
|
|||
}
|
||||
}
|
||||
|
||||
SetMic(PadStatus.MicButton); // This is dumb and should not be here
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -483,10 +483,8 @@ void PlayController(SPADStatus *PadStatus, int controllerID)
|
|||
|
||||
// dtm files don't save the mic button or error bit. not sure if they're actually
|
||||
// used, but better safe than sorry
|
||||
bool m = PadStatus->MicButton;
|
||||
signed char e = PadStatus->err;
|
||||
memset(PadStatus, 0, sizeof(SPADStatus));
|
||||
PadStatus->MicButton = m;
|
||||
PadStatus->err = e;
|
||||
|
||||
memcpy(&g_padState, &(tmpInput[inputOffset]), 8);
|
||||
|
|
|
@ -51,7 +51,6 @@ typedef struct
|
|||
unsigned char triggerRight; // 0 <= triggerRight <= 255
|
||||
unsigned char analogA; // 0 <= analogA <= 255
|
||||
unsigned char analogB; // 0 <= analogB <= 255
|
||||
bool MicButton; // HAX
|
||||
signed char err; // one of PAD_ERR_* number
|
||||
} SPADStatus;
|
||||
|
||||
|
|
Loading…
Reference in New Issue