From e0fe9328753e37472cab88ddd6a4f2fb2efe861c Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 15 Mar 2010 03:18:06 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@42450 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/mdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/mdec.c b/libpcsxcore/mdec.c index 8f3a4f59..cabc1db7 100644 --- a/libpcsxcore/mdec.c +++ b/libpcsxcore/mdec.c @@ -295,7 +295,7 @@ unsigned short *rl2blk(int *blk, unsigned short *mdec_rl) { #define SCALE8(c) SCALER(c, 20) #define SCALE5(c) SCALER(c, 23) -#define CLAMP5(c) ( ((c) < -16) ? 0 : (((c) > (31 - 16)) ? 31 : ((c) + 16)) ) +#define CLAMP5(c) ( ((c) < -16) ? 0 : (((c) > (31 - 16)) ? 31 : ((c) + 16)) ) #define CLAMP8(c) ( ((c) < -128) ? 0 : (((c) > (255 - 128)) ? 255 : ((c) + 128)) ) #define CLAMP_SCALE8(a) (CLAMP8(SCALE8(a))) -- cgit v1.2.3