summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-03-15 03:18:06 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-03-15 03:18:06 +0000
commite0fe9328753e37472cab88ddd6a4f2fb2efe861c (patch)
tree5d10a8b35f80a2382b0c7e71f1d9d39827c58bd0 /libpcsxcore
parent4d74b98934307c2c34715a3ccce4071064c5c4e5 (diff)
downloadpcsxr-e0fe9328753e37472cab88ddd6a4f2fb2efe861c.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@42450 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/mdec.c2
1 files changed, 1 insertions, 1 deletions
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)))