mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
SPU: Check upper 8 byte block of ADPCM block for interrupt
Fixes NFS2 stuck after selecting Race.
This commit is contained in:
parent
90cf6b8b41
commit
85413218cb
|
@ -842,6 +842,7 @@ void SPU::ReadADPCMBlock(u16 address, ADPCMBlock* block)
|
||||||
{
|
{
|
||||||
u32 ram_address = (ZeroExtend32(address) * 8) & RAM_MASK;
|
u32 ram_address = (ZeroExtend32(address) * 8) & RAM_MASK;
|
||||||
CheckRAMIRQ(ram_address);
|
CheckRAMIRQ(ram_address);
|
||||||
|
CheckRAMIRQ((ram_address + 8) & RAM_MASK);
|
||||||
|
|
||||||
// fast path - no wrap-around
|
// fast path - no wrap-around
|
||||||
if ((ram_address + sizeof(ADPCMBlock)) <= RAM_SIZE)
|
if ((ram_address + sizeof(ADPCMBlock)) <= RAM_SIZE)
|
||||||
|
|
Loading…
Reference in a new issue