notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #347 from justinweiss/enable-chd-3ds
[pcsx_rearmed.git]
/
libpcsxcore
/
gte.c
diff --git
a/libpcsxcore/gte.c
b/libpcsxcore/gte.c
index
8ef601a
..
77dff1b
100644
(file)
--- a/
libpcsxcore/gte.c
+++ b/
libpcsxcore/gte.c
@@
-170,7
+170,7
@@
#ifndef FLAGLESS
#ifndef FLAGLESS
-static inline s
32
BOUNDS_(psxCP2Regs *regs, s64 n_value, s64 n_max, int n_maxflag, s64 n_min, int n_minflag) {
+static inline s
64
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) {
if (n_value > n_max) {
gteFLAG |= n_maxflag;
} else if (n_value < n_min) {