summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-02-14 18:04:00 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-02-14 18:04:00 +0000
commit1b05b0e9736ab40e15190e608d1662921903a0c6 (patch)
treed0b6d45fc3d197da7052ffb070965e9210a0edf0
parent37b27b972f4e2f9599fcd51104962b554cb1935c (diff)
downloadpcsxr-1b05b0e9736ab40e15190e608d1662921903a0c6.tar.gz
windows gte fix; :/
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rwxr-xr-xlibpcsxcore/gte.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c
index 1cf25c11..620df8ab 100755
--- a/libpcsxcore/gte.c
+++ b/libpcsxcore/gte.c
@@ -493,23 +493,27 @@ void gteNCLIP() {
}
void gteAVSZ3() {
+ s64 t;
+
#ifdef GTE_LOG
GTE_LOG("GTE AVSZ3\n");
#endif
gteFLAG = 0;
- s64 t = (s64)(gteZSF3 * (s64)(gteSZ1 + gteSZ2 + gteSZ3));
+ t = (s64)(gteZSF3 * (s64)(gteSZ1 + gteSZ2 + gteSZ3));
gteMAC0 = F(t);
gteOTZ = limD(t >> 12);
}
void gteAVSZ4() {
+ s64 t;
+
#ifdef GTE_LOG
GTE_LOG("GTE AVSZ4\n");
#endif
gteFLAG = 0;
- s64 t = (s64)(gteZSF4 * (s64)(gteSZ0 + gteSZ1 + gteSZ2 + gteSZ3));
+ t = (s64)(gteZSF4 * (s64)(gteSZ0 + gteSZ1 + gteSZ2 + gteSZ3));
gteMAC0 = F(t);
gteOTZ = limD(t >> 12);
}