summaryrefslogtreecommitdiff
path: root/libpcsxcore/mdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/mdec.c')
-rw-r--r--libpcsxcore/mdec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpcsxcore/mdec.c b/libpcsxcore/mdec.c
index 77b8374e..53d55524 100644
--- a/libpcsxcore/mdec.c
+++ b/libpcsxcore/mdec.c
@@ -19,6 +19,10 @@
***************************************************************************/
#include "mdec.h"
+
+
+#define MDEC_BIAS 2.0f
+
#define DSIZE 8
#define DSIZE2 (DSIZE * DSIZE)
@@ -553,7 +557,7 @@ void psxDma1(u32 adr, u32 bcr, u32 chcr) {
}
/* define the power of mdec */
- MDECOUTDMA_INT(dmacnt);
+ MDECOUTDMA_INT((int) (dmacnt * MDEC_BIAS));
}
}