From f1e44bfd47e3761388ebb5cc8ca4db78bb24916c Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 4 Jan 2021 17:11:54 +0000 Subject: [PATCH] SPU2: ADMA fix for Vice City TFW you revert using the wrong variable.. --- pcsx2/SPU2/spu2sys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/SPU2/spu2sys.cpp b/pcsx2/SPU2/spu2sys.cpp index 5e633c2eaa..0b064fd6e0 100644 --- a/pcsx2/SPU2/spu2sys.cpp +++ b/pcsx2/SPU2/spu2sys.cpp @@ -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 }