diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-03-14 11:26:59 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-03-14 11:26:59 +0000 |
| commit | 0b503189b52dbe27f300f66cd9f4a5bf7603488c (patch) | |
| tree | a05d89163d5af8e4b6e5fbcc8180c417d228e4a0 /libpcsxcore/mdec.c | |
| parent | 1fbd2cde6c36e724f065ac33ed42d01602cd3d5a (diff) | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@42420 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/mdec.c')
| -rw-r--r-- | libpcsxcore/mdec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/mdec.c b/libpcsxcore/mdec.c index 531070bf..a74fbcfc 100644 --- a/libpcsxcore/mdec.c +++ b/libpcsxcore/mdec.c @@ -36,10 +36,10 @@ #define AAN_PRESCALE_SCALE (AAN_PRESCALE_SIZE-AAN_PRESCALE_BITS) #define AAN_EXTRA 12 -#define FIX_1_082392200 SCALER(18159528,AAN_CONST_SCALE) // B6 -#define FIX_1_414213562 SCALER(23726566,AAN_CONST_SCALE) // A4 -#define FIX_1_847759065 SCALER(31000253,AAN_CONST_SCALE) // A2 -#define FIX_2_613125930 SCALER(43840978,AAN_CONST_SCALE) // B2 +#define FIX_1_082392200 SCALER(18159528, AAN_CONST_SCALE) // B6 +#define FIX_1_414213562 SCALER(23726566, AAN_CONST_SCALE) // A4 +#define FIX_1_847759065 SCALER(31000253, AAN_CONST_SCALE) // A2 +#define FIX_2_613125930 SCALER(43840978, AAN_CONST_SCALE) // B2 #define MULS(var, const) (SCALE((var) * (const), AAN_CONST_BITS)) @@ -470,7 +470,7 @@ void psxDma0(u32 adr, u32 bcr, u32 chcr) { size = (bcr >> 16) * (bcr & 0xffff); - switch(cmd >> 28) { + switch (cmd >> 28) { case 0x3: // decode mdec.rl = (u16 *)PSXM(adr); mdec.rlsize = mdec.reg0 & MDEC0_SIZE_MASK; |
