mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
d8a8b31eb4
commit
f25e7ff004
|
@ -561,6 +561,9 @@ void* mVUcompile(microVU& mVU, u32 startPC, uptr pState)
|
||||||
mVUcheckBadOp(mVU);
|
mVUcheckBadOp(mVU);
|
||||||
if (curI & _Ebit_) {
|
if (curI & _Ebit_) {
|
||||||
eBitPass1(mVU, branch);
|
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) {
|
if ((curI & _Mbit_) && isVU0) {
|
||||||
|
|
Loading…
Reference in New Issue