X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fgte.c;h=31213ef5be7ddfc086d126a39a3cf02cc403e1b0;hp=62fc7f384dcbd797a532775a54a6c9efdc3e97e0;hb=90f000f6c23cf8a17c14c0149de4916ea63f373e;hpb=eac3852265815a2e57ea9987a2bea2fcadd3f022 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) {