summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-08 02:00:17 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-08 02:00:17 +0000
commitcac8fc7758e184b789e9ad40b0cfdad7331bcc7b (patch)
treebfbbac8ee00cb7967272783c35491205f1fa3e77
parentf7539cadb89ae24fd21cf24074ad1c2a195ea52b (diff)
downloadpcsxr-cac8fc7758e184b789e9ad40b0cfdad7331bcc7b.tar.gz
Valkyrie Profile - gte.c
- limH to use $ffff limit - fixes world map loading git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59302 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--libpcsxcore/gte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/gte.c b/libpcsxcore/gte.c
index 3959294b..0cf59438 100644
--- a/libpcsxcore/gte.c
+++ b/libpcsxcore/gte.c
@@ -211,7 +211,7 @@ static inline u32 limE(u32 result) {
#define F(a) BOUNDS((a), 0x7fffffff, (1 << 31) | (1 << 16), -(s64)0x80000000, (1 << 31) | (1 << 15))
#define limG1(a) LIM((a), 0x3ff, -0x400, (1 << 31) | (1 << 14))
#define limG2(a) LIM((a), 0x3ff, -0x400, (1 << 31) | (1 << 13))
-#define limH(a) LIM((a), 0xfff, 0x000, (1 << 12))
+#define limH(a) LIM((a), 0xffff, 0x0000, (1 << 12))
#include "gte_divider.h"