diff options
| author | Stephen Simpson <megazig@gmail.com> | 2011-09-28 19:18:19 -0500 | 
|---|---|---|
| committer | Stephen Simpson <megazig@gmail.com> | 2011-09-28 19:18:19 -0500 | 
| commit | 9cde0784c0d82a4e95d7ff7195537d3a519efeb9 (patch) | |
| tree | 6ad988445a9a4aa880769da0f4516c7209a28a39 /src | |
| parent | 63d9a470f3e508097741522f899a3da0b5c67e12 (diff) | |
| download | kamek-9cde0784c0d82a4e95d7ff7195537d3a519efeb9.tar.gz kamek-9cde0784c0d82a4e95d7ff7195537d3a519efeb9.zip | |
fixed issue with waggle not responding for classic_controller.S
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 | 
