From d9350354516f201df3da47e745929737a6812374 Mon Sep 17 00:00:00 2001 From: "SND\\edgbla_cp" Date: Mon, 8 Aug 2011 18:33:53 +0000 Subject: revert patch from issue 8874 (shalma), break some games. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@69581 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/gte.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c index be004384..a27bd0f3 100644 --- a/libpcsxcore/gte.c +++ b/libpcsxcore/gte.c @@ -412,8 +412,8 @@ void gteRTPS() { limG2_ia((s64)gteOFY + (s64)(gteIR2 * fquotient)), // TODO: MAC2 calc instead of IR2. ((s64)gteSZ3)); // TODO: MAC3 calc instead of SZ3. - gteMAC0 = F((s64)gteDQB + ((s64)gteDQA * quotient)); - gteIR0 = limH(gteMAC0 >> 12); + gteMAC0 = F((s64)(gteDQB + ((s64)gteDQA * quotient)) >> 12); + gteIR0 = limH(gteMAC0); } void gteRTPT() { @@ -450,8 +450,8 @@ void gteRTPT() { limG2_ia((s64)gteOFY + (s64)(gteIR2 * fquotient)), // TODO: MAC2 calc instead of IR2. ((s64)fSZ(v))); // TODO: MAC3 calc instead of fSZ(v). } - gteMAC0 = F((s64)gteDQB + ((s64)gteDQA * quotient)); - gteIR0 = limH(gteMAC0 >> 12); + gteMAC0 = F((s64)(gteDQB + ((s64)gteDQA * quotient)) >> 12); + gteIR0 = limH(gteMAC0); } void gteMVMVA() { -- cgit v1.2.3