mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Change SPADStatus struct name to GCPadStatus
Also get rid of the typedef, since this is unnecessary in C++
This commit is contained in:
@ -922,7 +922,7 @@ void OnStoppedCallback()
|
||||
}
|
||||
}
|
||||
|
||||
void TASManipFunction(SPADStatus *PadStatus, int controllerID)
|
||||
void TASManipFunction(GCPadStatus* PadStatus, int controllerID)
|
||||
{
|
||||
if (main_frame)
|
||||
main_frame->g_TASInputDlg[controllerID]->GetValues(PadStatus, controllerID);
|
||||
|
@ -358,5 +358,5 @@ void OnAfterLoadCallback();
|
||||
void OnStoppedCallback();
|
||||
|
||||
// For TASInputDlg
|
||||
void TASManipFunction(SPADStatus *PadStatus, int controllerID);
|
||||
void TASManipFunction(GCPadStatus* PadStatus, int controllerID);
|
||||
bool TASInputHasFocus();
|
||||
|
@ -242,7 +242,7 @@ void TASInputDlg::ResetValues()
|
||||
wx_start_button->SetValue(false);
|
||||
}
|
||||
|
||||
void TASInputDlg::GetKeyBoardInput(SPADStatus *PadStatus)
|
||||
void TASInputDlg::GetKeyBoardInput(GCPadStatus* PadStatus)
|
||||
{
|
||||
if (PadStatus->stickX != 128)
|
||||
{
|
||||
@ -471,7 +471,7 @@ void TASInputDlg::SetLandRTriggers()
|
||||
rTrig = wx_r_s->GetValue();
|
||||
}
|
||||
|
||||
void TASInputDlg::GetValues(SPADStatus *PadStatus, int controllerID)
|
||||
void TASInputDlg::GetValues(GCPadStatus* PadStatus, int controllerID)
|
||||
{
|
||||
if (!IsShown())
|
||||
return;
|
||||
|
@ -39,11 +39,11 @@ class TASInputDlg : public wxDialog
|
||||
void OnMouseDownL(wxMouseEvent& event);
|
||||
void OnMouseUpR(wxMouseEvent& event);
|
||||
void ResetValues();
|
||||
void GetValues(SPADStatus *PadStatus, int controllerID);
|
||||
void GetValues(GCPadStatus* PadStatus, int controllerID);
|
||||
void SetTurbo(wxMouseEvent& event);
|
||||
void SetTurboFalse(wxMouseEvent& event);
|
||||
void ButtonTurbo();
|
||||
void GetKeyBoardInput(SPADStatus *PadStatus);
|
||||
void GetKeyBoardInput(GCPadStatus* PadStatus);
|
||||
bool TextBoxHasFocus();
|
||||
void SetLandRTriggers();
|
||||
bool TASHasFocus();
|
||||
|
Reference in New Issue
Block a user