dma: partially disable pcr handling
authornotaz <notasas@gmail.com>
Tue, 25 Feb 2025 00:59:52 +0000 (02:59 +0200)
committernotaz <notasas@gmail.com>
Tue, 25 Feb 2025 01:17:50 +0000 (03:17 +0200)
libpcsxcore/psxhw.c

index c487b02..1afa9c6 100644 (file)
@@ -101,7 +101,11 @@ void psxHwWriteDmaPcr32(u32 value)
                psxDma##n(SWAPu32(HW_DMA##n##_MADR), SWAPu32(HW_DMA##n##_BCR), chcr)
        DO(0);
        DO(1);
-       DO(2);
+       // breaks Kyuutenkai. Probably needs better timing or
+       // proper gpu side dma enable handling
+       //DO(2);
+       if ((on & (8u << 4*2)) && (SWAPu32(HW_DMA2_CHCR) & 0x01000000))
+               log_unhandled("dma2 pcr write ignored\n");
        DO(3);
        DO(4);
        DO(6);