SPU2: Reset IRQ Status when swapping game in case it got set previously

This commit is contained in:
refractionpcsx2 2021-02-19 10:02:45 +00:00
parent 4b722cc253
commit ce8047bd8c
1 changed files with 3 additions and 0 deletions

View File

@ -193,6 +193,9 @@ s32 SPU2reset()
memset(spu2regs, 0, 0x010000); memset(spu2regs, 0, 0x010000);
memset(_spu2mem, 0, 0x200000); memset(_spu2mem, 0, 0x200000);
memset(_spu2mem + 0x2800, 7, 0x10); // from BIOS reversal. Locks the voices so they don't run free. memset(_spu2mem + 0x2800, 7, 0x10); // from BIOS reversal. Locks the voices so they don't run free.
Spdif.Info = 0; // Reset IRQ Status if it got set in a previously run game
Cores[0].Init(0); Cores[0].Init(0);
Cores[1].Init(1); Cores[1].Init(1);
return 0; return 0;