Merge pull request #127 from retro-wertz/fix_rtps_rtpt
authornotaz <notasas@gmail.com>
Mon, 25 Mar 2019 21:48:57 +0000 (23:48 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2019 21:48:57 +0000 (23:48 +0200)
gte: backport fix for RTPS/RTPT

libpcsxcore/gte.c

index 8ef601a..77dff1b 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) {