mirror of
https://github.com/HarbourMasters/Starship
synced 2026-06-10 13:04:59 -04:00
DPAD direction fix
This commit is contained in:
@@ -3754,7 +3754,7 @@ bool Option_Input_MoveCursor_Y(s32* arg0, s32 arg1, bool arg2, s32 arg3, s32 arg
|
||||
stick->unk_0 -= arg6;
|
||||
}
|
||||
} else if (((gControllerPress[0].button & L_JPAD) || (gControllerPress[0].button & R_JPAD)) && (arg2 == false)) {
|
||||
if (gControllerPress[0].button & L_JPAD) {
|
||||
if (gControllerPress[0].button & R_JPAD) {
|
||||
(*arg0)++;
|
||||
if (*arg0 > arg1) {
|
||||
if (arg3 == 0) {
|
||||
@@ -3765,7 +3765,7 @@ bool Option_Input_MoveCursor_Y(s32* arg0, s32 arg1, bool arg2, s32 arg3, s32 arg
|
||||
}
|
||||
}
|
||||
|
||||
if (gControllerPress[0].button & R_JPAD) {
|
||||
if (gControllerPress[0].button & L_JPAD) {
|
||||
(*arg0)--;
|
||||
if (*arg0 < 0) {
|
||||
if (arg3 == 0) {
|
||||
|
||||
Reference in New Issue
Block a user