mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
SPU: Fix reverb write regression from e07d3c9d
This commit is contained in:
parent
db9d637f92
commit
d461d7c87a
|
@ -518,7 +518,7 @@ void SPU::WriteRegister(u32 offset, u16 value)
|
||||||
return;
|
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;
|
const u32 reg = (offset - (0x1F801DC0 - SPU_BASE)) / 2;
|
||||||
Log_DebugPrintf("SPU reverb register %u <- 0x%04X", reg, value);
|
Log_DebugPrintf("SPU reverb register %u <- 0x%04X", reg, value);
|
||||||
|
|
Loading…
Reference in a new issue