CFinalInput: Set controllerIdx to 0 by default, fixes Samus wandering during cutscenes

This commit is contained in:
Phillip Stephens 2022-03-26 20:37:02 -07:00
parent 7461188a43
commit 75d01f9310
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ struct SAuroraControllerState {
struct CFinalInput { struct CFinalInput {
float x0_dt = 0.0f; float x0_dt = 0.0f;
u32 x4_controllerIdx = -1; u32 x4_controllerIdx = 0;
float x8_anaLeftX = 0.0f; float x8_anaLeftX = 0.0f;
float xc_anaLeftY = 0.0f; float xc_anaLeftY = 0.0f;
float x10_anaRightX = 0.0f; float x10_anaRightX = 0.0f;
@ -36,8 +36,8 @@ struct CFinalInput {
bool x22_enableAnaRightXP = false; bool x22_enableAnaRightXP = false;
bool x23_enableAnaRightYP = false; bool x23_enableAnaRightYP = false;
float x24_anaLeftTriggerP; float x24_anaLeftTriggerP = 0.f;
float x28_anaRightTriggerP; float x28_anaRightTriggerP = 0.f;
bool x2c_b24_A : 1 = false; bool x2c_b24_A : 1 = false;
bool x2c_b25_B : 1 = false; bool x2c_b25_B : 1 = false;