Merge pull request #130 from retro-wertz/patch-1
authornotaz <notasas@gmail.com>
Mon, 25 Mar 2019 21:46:49 +0000 (23:46 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2019 21:46:49 +0000 (23:46 +0200)
gte: change return to s64 for BOUNDS_

libpcsxcore/gte.c

index 62fc7f3..31213ef 100644 (file)
 
 #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) {