aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2019-03-25 23:46:49 +0200
committerGitHub2019-03-25 23:46:49 +0200
commit90f000f6c23cf8a17c14c0149de4916ea63f373e (patch)
treed4f4cd12451489433c71cc430df4b8d442fb280d
parent8a55ebcc07d4f860633db8c77bb9e16bcfa03313 (diff)
parent669fed93c7028df838f1492da8d6a6f240fec3ce (diff)
downloadpcsx_rearmed-90f000f6c23cf8a17c14c0149de4916ea63f373e.tar.gz
pcsx_rearmed-90f000f6c23cf8a17c14c0149de4916ea63f373e.tar.bz2
pcsx_rearmed-90f000f6c23cf8a17c14c0149de4916ea63f373e.zip
Merge pull request #130 from retro-wertz/patch-1
gte: change return to s64 for BOUNDS_
-rw-r--r--libpcsxcore/gte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c
index 62fc7f3..31213ef 100644
--- a/libpcsxcore/gte.c
+++ b/libpcsxcore/gte.c
@@ -170,7 +170,7 @@
#ifndef FLAGLESS
-static inline s32 BOUNDS_(psxCP2Regs *regs, s64 n_value, s64 n_max, int n_maxflag, s64 n_min, int n_minflag) {
+static inline s64 BOUNDS_(psxCP2Regs *regs, s64 n_value, s64 n_max, int n_maxflag, s64 n_min, int n_minflag) {
if (n_value > n_max) {
gteFLAG |= n_maxflag;
} else if (n_value < n_min) {