From 85413218cb099142b5e3589d52809c5883d8f0ad Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 12 Nov 2019 18:56:53 +1000 Subject: [PATCH] SPU: Check upper 8 byte block of ADPCM block for interrupt Fixes NFS2 stuck after selecting Race. --- src/core/spu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/spu.cpp b/src/core/spu.cpp index 5437cc994..e2a416037 100644 --- a/src/core/spu.cpp +++ b/src/core/spu.cpp @@ -842,6 +842,7 @@ void SPU::ReadADPCMBlock(u16 address, ADPCMBlock* block) { u32 ram_address = (ZeroExtend32(address) * 8) & RAM_MASK; CheckRAMIRQ(ram_address); + CheckRAMIRQ((ram_address + 8) & RAM_MASK); // fast path - no wrap-around if ((ram_address + sizeof(ADPCMBlock)) <= RAM_SIZE)