diff --git a/pcsx2/Mdec.cpp b/pcsx2/Mdec.cpp index 73685694a9..58a1c326e3 100644 --- a/pcsx2/Mdec.cpp +++ b/pcsx2/Mdec.cpp @@ -158,7 +158,7 @@ void mdecInit(void) { void mdecWrite0(u32 data) { - CDR_LOG("mdec0 write %lx", data); + MDEC_LOG("mdec0 write %lx", data); mdec.command = data; if ((data&0xf5ff0000)==0x30000000) { @@ -167,7 +167,7 @@ void mdecWrite0(u32 data) { } void mdecWrite1(u32 data) { - CDR_LOG("mdec1 write %lx", data); + MDEC_LOG("mdec1 write %lx", data); if (data&0x80000000) { // mdec reset round_init(); @@ -176,15 +176,14 @@ void mdecWrite1(u32 data) { } u32 mdecRead0(void) { - CDR_LOG("mdec0 read %lx", mdec.command); + MDEC_LOG("mdec0 read %lx", mdec.command); return mdec.command; } u32 mdecRead1(void) { -#ifdef CDR_LOG - CDR_LOG("mdec1 read %lx", mdec.status); -#endif + MDEC_LOG("mdec1 read %lx", mdec.status); + return mdec.status; } @@ -192,7 +191,7 @@ void psxDma0(u32 adr, u32 bcr, u32 chcr) { int cmd = mdec.command; int size; - CDR_LOG("DMA0 %lx %lx %lx", adr, bcr, chcr); + MDEC_LOG("DMA0 %lx %lx %lx", adr, bcr, chcr); if (chcr!=0x01000201) return; @@ -216,7 +215,8 @@ void psxDma1(u32 adr, u32 bcr, u32 chcr) { unsigned short *image; int size; - CDR_LOG("DMA1 %lx %lx %lx (cmd = %lx)", adr, bcr, chcr, mdec.command); + MDEC_LOG("DMA1 %lx %lx %lx (cmd = %lx)", adr, bcr, chcr, mdec.command); + if (chcr!=0x01000200) return;