From: notaz Date: Mon, 25 Mar 2019 21:48:57 +0000 (+0200) Subject: Merge pull request #127 from retro-wertz/fix_rtps_rtpt X-Git-Tag: r23~157 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=9d3801c90db3dee73a7a30d898857ad1a5821e59;hp=8cb04d2205b117d583b3cc4085fab4a285b74ce2 Merge pull request #127 from retro-wertz/fix_rtps_rtpt gte: backport fix for RTPS/RTPT --- diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c index 8ef601a5..77dff1b1 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) {