notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
8cb04d2
)
Merge pull request #127 from retro-wertz/fix_rtps_rtpt
author
notaz
<notasas@gmail.com>
Mon, 25 Mar 2019 21:48:57 +0000
(23:48 +0200)
committer
GitHub
<noreply@github.com>
Mon, 25 Mar 2019 21:48:57 +0000
(23:48 +0200)
gte: backport fix for RTPS/RTPT
libpcsxcore/gte.c
patch
|
blob
|
blame
|
history
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
-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) {