From cac8fc7758e184b789e9ad40b0cfdad7331bcc7b Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Mon, 8 Nov 2010 02:00:17 +0000 Subject: 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 --- libpcsxcore/gte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpcsxcore') 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" -- cgit v1.2.3