From 9cde0784c0d82a4e95d7ff7195537d3a519efeb9 Mon Sep 17 00:00:00 2001 From: Stephen Simpson Date: Wed, 28 Sep 2011 19:18:19 -0500 Subject: fixed issue with waggle not responding for classic_controller.S --- src/classic_controller.S | 5 +++-- 1 file 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 -- cgit v1.2.3