microVU: Save valid flag instances at the end of a VU0 program.

Fixes State of Emergency 2 black screens and BIOS reboot in Driving Emotion Type-S
This commit is contained in:
refractionpcsx2 2020-10-26 00:52:00 +00:00
parent d8a8b31eb4
commit f25e7ff004
1 changed files with 3 additions and 0 deletions

View File

@ -561,6 +561,9 @@ void* mVUcompile(microVU& mVU, u32 startPC, uptr pState)
mVUcheckBadOp(mVU);
if (curI & _Ebit_) {
eBitPass1(mVU, branch);
// VU0 end of program MAC results can be read by COP2, so best to make sure the last instance is valid
// Needed for State of Emergency 2 and Driving Emotion Type-S
if(isVU0) mVUregs.needExactMatch |= 7;
}
if ((curI & _Mbit_) && isVU0) {