From 06d6001b0cc869c955ab18b110a0d3d963849ad1 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 22 Jul 2021 09:38:00 +0100 Subject: [PATCH] SPU2: Add rogue BIOS loop point which Megaman X7 relies on. Thanks to Ziemas for debugging this! --- pcsx2/SPU2/spu2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/SPU2/spu2.cpp b/pcsx2/SPU2/spu2.cpp index 4361c28077..7659788ae0 100644 --- a/pcsx2/SPU2/spu2.cpp +++ b/pcsx2/SPU2/spu2.cpp @@ -150,7 +150,7 @@ s32 SPU2reset() memset(spu2regs, 0, 0x010000); memset(_spu2mem, 0, 0x200000); memset(_spu2mem + 0x2800, 7, 0x10); // from BIOS reversal. Locks the voices so they don't run free. - + memset(_spu2mem + 0xe870, 7, 0x10); // Loop which gets left over by the BIOS, Megaman X7 relies on it being there. Spdif.Info = 0; // Reset IRQ Status if it got set in a previously run game Cores[0].Init(0);