From 669fed93c7028df838f1492da8d6a6f240fec3ce Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Sat, 23 Mar 2019 15:25:04 +0800 Subject: [PATCH] gte: change return to s64 for BOUNDS_ fix https://github.com/notaz/pcsx_rearmed/issues/129 --- libpcsxcore/gte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c index 62fc7f38..31213ef5 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) { -- 2.39.5