SPU: Fix reverb write regression from e07d3c9d

This commit is contained in:
Connor McLaughlin 2020-05-13 13:47:33 +10:00
parent db9d637f92
commit d461d7c87a

View file

@ -518,7 +518,7 @@ void SPU::WriteRegister(u32 offset, u16 value)
return;
}
if (offset >= (0x1F801DC0 - SPU_BASE) && offset < (0x1F801DE0 - SPU_BASE))
if (offset >= (0x1F801DC0 - SPU_BASE) && offset < (0x1F801E00 - SPU_BASE))
{
const u32 reg = (offset - (0x1F801DC0 - SPU_BASE)) / 2;
Log_DebugPrintf("SPU reverb register %u <- 0x%04X", reg, value);