summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegazig <megazig@megazig.(none)>2013-04-09 16:47:15 -0500
committermegazig <megazig@megazig.(none)>2013-04-09 16:47:15 -0500
commit23c1bce459024ec4b7cf5f8a9b73fe574b459526 (patch)
tree4917e40aac275be2ee89a5003c6702d54f5dea7f /src
parent3c4ca002c23af8e5c51d7a2e9ab37a0eb9fa7479 (diff)
downloadkamek-23c1bce459024ec4b7cf5f8a9b73fe574b459526.tar.gz
kamek-23c1bce459024ec4b7cf5f8a9b73fe574b459526.zip
fixed issue when float_one & 0xFFFF >= 0x8000
Diffstat (limited to 'src')
-rw-r--r--src/classic_controller.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classic_controller.S b/src/classic_controller.S
index ccc073c..6084c05 100644
--- a/src/classic_controller.S
+++ b/src/classic_controller.S
@@ -162,7 +162,7 @@ skip_plus:
skip_minus:
lfs f8,0x6c(r26) // left analog x ; KPADInsideStatus->KPADEXStatus_cl->lstick
lfs f9,0x70(r26) // left analog y ; KPADInsideStatus->KPADEXStatus_cl->rstick
- lis r5,float_one@h
+ lis r5,float_one@ha
lfs f10,float_one@l(r5)
lfs f11,float_neg_one@l(r5)
; fcmpu cr0,f8,f10