From 23c1bce459024ec4b7cf5f8a9b73fe574b459526 Mon Sep 17 00:00:00 2001 From: megazig Date: Tue, 9 Apr 2013 16:47:15 -0500 Subject: fixed issue when float_one & 0xFFFF >= 0x8000 --- src/classic_controller.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3