summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-08 02:01:22 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-08 02:01:22 +0000
commitc9fdd9a89121d0dcaa676a5787577b36a15cb910 (patch)
treef74cf0b163e260d98b9e0d10209fcb3bcea830f2 /libpcsxcore
parentcac8fc7758e184b789e9ad40b0cfdad7331bcc7b (diff)
downloadpcsxr-c9fdd9a89121d0dcaa676a5787577b36a15cb910.tar.gz
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
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/gte.c6
1 files changed, 3 insertions, 3 deletions
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() {