SPU: Check upper 8 byte block of ADPCM block for interrupt

Fixes NFS2 stuck after selecting Race.
This commit is contained in:
Connor McLaughlin 2019-11-12 18:56:53 +10:00
parent 90cf6b8b41
commit 85413218cb
1 changed files with 1 additions and 0 deletions

View File

@ -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)