diff options
Diffstat (limited to '')
-rw-r--r-- | src/classic_controller.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/classic_controller.S b/src/classic_controller.S index 2ba7a9e..6fe057e 100644 --- a/src/classic_controller.S +++ b/src/classic_controller.S @@ -67,11 +67,12 @@ _switch_buttons: blr map_buttons: - andi. r4,r5,0x200 // WPAD_CLASSIC_BUTTON_FULL_R + andi. r4,r5,0x10 // WPAD_CLASSIC_BUTTON_A + cmpwi r4,0 beq- skip_waggle lis r6,0x7fc0 // float -skip_waggle: stw r6,0x10(r26) // set waggle +skip_waggle: li r6,0 andi. r4,r5,0x800 // WPAD_CLASSIC_BUTTON_HOME beq- skip_home |