diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-03-14 11:30:19 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-03-14 11:30:19 +0000 |
| commit | e516294d5f79cf0c8fb75e740091b3e9cc4534a5 (patch) | |
| tree | c5e8cd560dc6c96b4b206cd891eaf8d990b0ef9e /libpcsxcore | |
| parent | 0b503189b52dbe27f300f66cd9f4a5bf7603488c (diff) | |
| download | pcsxr-e516294d5f79cf0c8fb75e740091b3e9cc4534a5.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@42421 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/mdec.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libpcsxcore/mdec.c b/libpcsxcore/mdec.c index a74fbcfc..d3879f66 100644 --- a/libpcsxcore/mdec.c +++ b/libpcsxcore/mdec.c @@ -149,9 +149,9 @@ void idct(int *block,int used_col) { ptr = block; if (used_col == 1) { for (i = 0; i < DSIZE; i++) - fillrow(block+DSIZE*i,block[DSIZE*i]); + fillrow(block + DSIZE * i, block[DSIZE * i]); } else { - for (i = 0; i < DSIZE; i++ ,ptr+=DSIZE) { + for (i = 0; i < DSIZE; i++, ptr += DSIZE) { z10 = ptr[0] + ptr[4]; z11 = ptr[0] - ptr[4]; z13 = ptr[2] + ptr[6]; @@ -187,17 +187,17 @@ void idct(int *block,int used_col) { } // mdec0: command register -#define MDEC0_STP 0x02000000 -#define MDEC0_RGB24 0x08000000 -#define MDEC0_SIZE_MASK 0xFFFF +#define MDEC0_STP 0x02000000 +#define MDEC0_RGB24 0x08000000 +#define MDEC0_SIZE_MASK 0xFFFF // mdec1: status register -#define MDEC1_BUSY 0x20000000 -#define MDEC1_DREQ 0x18000000 -#define MDEC1_FIFO 0xc0000000 -#define MDEC1_RGB24 0x02000000 -#define MDEC1_STP 0x00800000 -#define MDEC1_RESET 0x80000000 +#define MDEC1_BUSY 0x20000000 +#define MDEC1_DREQ 0x18000000 +#define MDEC1_FIFO 0xc0000000 +#define MDEC1_RGB24 0x02000000 +#define MDEC1_STP 0x00800000 +#define MDEC1_RESET 0x80000000 struct { u32 reg0; |
