Also for RSP, oops

This commit is contained in:
SimoneN64
2024-07-07 23:51:31 +02:00
parent 37a0cf6c77
commit 836a009e99
4 changed files with 66 additions and 78 deletions

View File

@@ -60,11 +60,11 @@ FORCE_INLINE void SetCop0Reg(Registers& regs, Mem& mem, u8 index, u32 val) {
case 1: rsp.spDMADRAMAddr.raw = val; break;
case 2:
rsp.spDMALen.raw = val;
rsp.DMAtoRSP(mem.GetRDRAM());
rsp.DMA<false>();
break;
case 3:
rsp.spDMALen.raw = val;
rsp.DMAtoRDRAM(mem.GetRDRAM());
rsp.DMA<true>();
break;
case 4: rsp.WriteStatus(val); break;
case 7: