mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
DPAD direction fix
This commit is contained in:
parent
95dcd6c1ca
commit
536967b403
@ -3754,7 +3754,7 @@ bool Option_Input_MoveCursor_Y(s32* arg0, s32 arg1, bool arg2, s32 arg3, s32 arg
|
|||||||
stick->unk_0 -= arg6;
|
stick->unk_0 -= arg6;
|
||||||
}
|
}
|
||||||
} else if (((gControllerPress[0].button & L_JPAD) || (gControllerPress[0].button & R_JPAD)) && (arg2 == false)) {
|
} 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)++;
|
(*arg0)++;
|
||||||
if (*arg0 > arg1) {
|
if (*arg0 > arg1) {
|
||||||
if (arg3 == 0) {
|
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)--;
|
(*arg0)--;
|
||||||
if (*arg0 < 0) {
|
if (*arg0 < 0) {
|
||||||
if (arg3 == 0) {
|
if (arg3 == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user