SPU2: ADMA fix for Vice City

TFW you revert using the wrong variable..
This commit is contained in:
refractionpcsx2 2021-01-04 17:11:54 +00:00
parent 89a33c0ab3
commit f1e44bfd47
1 changed files with 1 additions and 1 deletions

View File

@ -1521,7 +1521,7 @@ static void __fastcall RegWrite_Core(u16 value)
thiscore.AutoDMACtrl = value;
if (value == 0 && thiscore.AdmaInProgress && (thiscore.Regs.STATX & 0x400))
{
thiscore.InputDataProgress = 0;
thiscore.AdmaInProgress = 0;
thiscore.Regs.STATX &= ~0x400; // Set DMA as not busy transferring
// No need to end the DMA here, the IOP seems to handle that
}