From c9fdd9a89121d0dcaa676a5787577b36a15cb910 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Mon, 8 Nov 2010 02:01:22 +0000 Subject: Tales of Destiny 2 - gte.c - repair SQR - IR output - fixes underwater lighting git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59303 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/gte.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c index 0cf59438..52c827e1 100644 --- a/libpcsxcore/gte.c +++ b/libpcsxcore/gte.c @@ -499,9 +499,9 @@ void gteSQR() { gteMAC1 = A1((gteIR1 * gteIR1) >> shift); gteMAC2 = A2((gteIR2 * gteIR2) >> shift); gteMAC3 = A3((gteIR3 * gteIR3) >> shift); - gteIR1 = limB1(gteMAC1 >> shift, lm); - gteIR2 = limB2(gteMAC2 >> shift, lm); - gteIR3 = limB3(gteMAC3 >> shift, lm); + gteIR1 = limB1(gteMAC1, lm); + gteIR2 = limB2(gteMAC2, lm); + gteIR3 = limB3(gteMAC3, lm); } void gteNCCS() { -- cgit v1.2.3