mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
SPU2-X: Fixes a regression with Wallace And Gromit: Curse Of The Were-Rabbit sound cutting off.
Follow up from PR #2315 Partially reverts commit: https://github.com/PCSX2/pcsx2/commit/57cbc901b
This commit is contained in:
1 parent
06f4b77f63
commit
6b22450a1b
1 file changed
+4
-2
@@ -1080,10 +1080,12 @@ static void __fastcall RegWrite_VoiceAddr(u16 value)
|
||||
|
||||
// NextA has been confirmed to not be allowed to be written to, so code has been commented out.
|
||||
// FlatOut & Soul Reaver 2 trigger these cases, but don't produce issues enabled or disabled.
|
||||
// Wallace And Gromit: Curse Of The Were-Rabbit triggers case 4 to produce proper sound,
|
||||
// without it some sound effects get cut off.
|
||||
|
||||
case 4:
|
||||
//thisvoice.NextA = ((value & 0x0F) << 16) | (thisvoice.NextA & 0xFFF8) | 1;
|
||||
//thisvoice.SCurrent = 28;
|
||||
thisvoice.NextA = ((value & 0x0F) << 16) | (thisvoice.NextA & 0xFFF8) | 1;
|
||||
thisvoice.SCurrent = 28;
|
||||
break;
|
||||
|
||||
case 5:
|
||||
|
||||
Reference in new issue
Block a user