aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-05-16 21:25:33 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-05-16 21:25:33 -0400
commit92be5517c40fd9abf89455f606c321b629c0698e (patch)
tree3b9d45d77897ba308d09df2567d3bead5dddbd25 /src
parent1dc08765a818bf1e24d6611a673791bab752cd45 (diff)
same fix as last commit - just for vfpsingle.cpp
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/interpreter/vfp/vfpsingle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/interpreter/vfp/vfpsingle.cpp b/src/core/arm/interpreter/vfp/vfpsingle.cpp
index 34de030b..05279f5c 100644
--- a/src/core/arm/interpreter/vfp/vfpsingle.cpp
+++ b/src/core/arm/interpreter/vfp/vfpsingle.cpp
@@ -327,13 +327,13 @@ u32 vfp_estimate_sqrt_significand(u32 exponent, u32 significand)
static u32 vfp_single_fsqrt(ARMul_State* state, int sd, int unused, s32 m, u32 fpscr)
{
- struct vfp_single vsm, vsd;
+ struct vfp_single vsm, vsd, *vsp;
int ret, tm;
vfp_single_unpack(&vsm, m);
tm = vfp_single_type(&vsm);
if (tm & (VFP_NAN|VFP_INFINITY)) {
- struct vfp_single *vsp = &vsd;
+ vsp = &vsd;
if (tm & VFP_NAN)
ret = vfp_propagate_nan(vsp, &vsm, NULL, fpscr);