mirror of https://github.com/PCSX2/pcsx2.git
SPU2: Change how ADMA gets cancelled, IOP handles cancelling DMA
Fixes Raw Danger
This commit is contained in:
parent
a679766740
commit
a8aeeb5a6a
|
@ -1522,8 +1522,8 @@ static void __fastcall RegWrite_Core(u16 value)
|
|||
if (value == 0 && thiscore.AdmaInProgress && (thiscore.Regs.STATX & 0x400))
|
||||
{
|
||||
thiscore.InputDataProgress = 0;
|
||||
thiscore.ReadSize = 0;
|
||||
thiscore.DMAICounter = 1;
|
||||
thiscore.Regs.STATX &= ~0x400; // Set DMA as not busy transferring
|
||||
// No need to end the DMA here, the IOP seems to handle that
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue