1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-06-25 19:47:12 -07:00

swap dpad up/down with left/right

This commit is contained in:
Connor Olding 2016-01-03 04:44:53 -08:00
parent 2ee3f54173
commit 2e1d8b324d

View File

@ -30,22 +30,22 @@
bltz t4, return bltz t4, return
nop nop
+: +:
andi t3, t2, @button_D_up andi t3, t2, @button_D_right
beqz t3, + beqz t3, +
nop nop
addi t9, t9, 1 addi t9, t9, 1
+: +:
andi t3, t2, @button_D_down andi t3, t2, @button_D_left
beqz t3, + beqz t3, +
nop nop
subi t9, t9, 1 subi t9, t9, 1
+: +:
andi t3, t2, @button_D_right andi t3, t2, @button_D_up
beqz t3, + beqz t3, +
nop nop
addi t9, t9, 10 addi t9, t9, 10
+: +:
andi t3, t2, @button_D_left andi t3, t2, @button_D_down
beqz t3, + beqz t3, +
nop nop
subi t9, t9, 10 subi t9, t9, 10