Skip to content

Commit

Permalink
SPU2: Change how ADMA gets cancelled, IOP handles cancelling DMA
Browse files Browse the repository at this point in the history
Fixes Raw Danger
  • Loading branch information
refractionpcsx2 committed Jan 3, 2021
1 parent a679766 commit a8aeeb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcsx2/SPU2/spu2sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a8aeeb5

Please sign in to comment.