From 013940250bd8aaa4beee90f418d7a4673981efbd Mon Sep 17 00:00:00 2001 From: Robert Neumann Date: Sun, 25 Sep 2016 19:55:44 +0200 Subject: [PATCH] psxmode: color for mdec please! ;p --- pcsx2/Mdec.cpp | 2 +- pcsx2/ps2/pgif.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pcsx2/Mdec.cpp b/pcsx2/Mdec.cpp index 95f6d82654..4268b467bf 100644 --- a/pcsx2/Mdec.cpp +++ b/pcsx2/Mdec.cpp @@ -170,7 +170,7 @@ void idct(int *block,int k) void mdecInit(void) { - Config.Mdec = 1; //XXXXXXXXXXXXXXXXX 0 or 1 + Config.Mdec = 0; //XXXXXXXXXXXXXXXXX 0 or 1 // 1 is black and white decoding mdec.rl = (u16*)PSXM(0); //mdec.rl = (u16*)&psxM[0x100000]; diff --git a/pcsx2/ps2/pgif.cpp b/pcsx2/ps2/pgif.cpp index ec51e07e00..275bf19a1f 100644 --- a/pcsx2/ps2/pgif.cpp +++ b/pcsx2/ps2/pgif.cpp @@ -71,7 +71,6 @@ int doAnyIopLs = 0; //NOTES (TODO): /* -- Change this file's name to PGIF.cpp and the corresponding header. - 8 and 16 bit access to the PGPU regs is not emulated... is it ever used? Emulating it would be tricky. @@ -368,6 +367,8 @@ void ackGpuIrq() void pgpuDmaIntr(int trigDma) { //For the IOP GPU DMA channel. //trigDma: 1=normal,ToGPU; 2=normal,FromGPU, 3=LinkedList + +// psxmode: 25.09.2016 at this point, the emulator works even when removing this interrupt call. how? why? #if PREVENT_IRQ_ON_NORM_DMA_TO_GPU == 1 if (trigDma != 1) //Interrupt on ToGPU DMA breaks some games. TODO: Why? #endif