diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-08-08 18:33:53 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-08-08 18:33:53 +0000 |
| commit | d9350354516f201df3da47e745929737a6812374 (patch) | |
| tree | e0897ca2114a97fc116e18a768f2d5ba73edf2b1 /libpcsxcore | |
| parent | 9cbd44224d555eb5d9fbd044676e92924407b57b (diff) | |
| download | pcsxr-d9350354516f201df3da47e745929737a6812374.tar.gz | |
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
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/gte.c | 8 |
1 files changed, 4 insertions, 4 deletions
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() { |
