aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/gte.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c
index ec173b5..7efe7cf 100644
--- a/libpcsxcore/gte.c
+++ b/libpcsxcore/gte.c
@@ -377,8 +377,8 @@ void gteRTPS() {
gteSX2 = limG1(F((s64)gteOFX + ((s64)gteIR1 * quotient)) >> 16);
gteSY2 = limG2(F((s64)gteOFY + ((s64)gteIR2 * quotient)) >> 16);
- gteMAC0 = F((s64)(gteDQB + ((s64)gteDQA * quotient)) >> 12);
- gteIR0 = limH(gteMAC0);
+ gteMAC0 = F((s64)gteDQB + ((s64)gteDQA * quotient));
+ gteIR0 = limH(gteMAC0 >> 12);
}
void gteRTPT() {
@@ -407,8 +407,8 @@ void gteRTPT() {
fSX(v) = limG1(F((s64)gteOFX + ((s64)gteIR1 * quotient)) >> 16);
fSY(v) = limG2(F((s64)gteOFY + ((s64)gteIR2 * quotient)) >> 16);
}
- gteMAC0 = F((s64)(gteDQB + ((s64)gteDQA * quotient)) >> 12);
- gteIR0 = limH(gteMAC0);
+ gteMAC0 = F((s64)gteDQB + ((s64)gteDQA * quotient));
+ gteIR0 = limH(gteMAC0 >> 12);
}
void gteMVMVA() {