VU Int: Write back all pending pipes (will likely be ripped out later)

This commit is contained in:
refractionpcsx2 2021-09-04 03:02:44 +01:00
parent 3bad60ce84
commit 0326659b14
1 changed files with 17 additions and 20 deletions

View File

@ -83,8 +83,6 @@ static __ri bool _vuFMACflush(VURegs * VU) {
VU->fmac[currentpipe].enable = 0;
if ((VU->fmac[currentpipe].sCycle + VU->fmac[currentpipe].Cycle) >= cycle)
{
VUM_LOG("Writing back flags");
if (VU->fmac[currentpipe].flagreg & (1 << REG_STATUS_FLAG))
{
@ -104,7 +102,6 @@ static __ri bool _vuFMACflush(VURegs * VU) {
VU->VI[REG_MAC_FLAG].UL = VU->fmac[currentpipe].macflag;
}
}
didflush = true;
}
}
@ -2195,7 +2192,7 @@ static __ri void _vuELENG(VURegs * VU) {
}
static __ri void _vuERLENG(VURegs * VU) {
DevCon.Warning("ERLENG");
//DevCon.Warning("ERLENG");
float p = vuDouble(VU->VF[_Fs_].i.x) * vuDouble(VU->VF[_Fs_].i.x) + vuDouble(VU->VF[_Fs_].i.y) * vuDouble(VU->VF[_Fs_].i.y) + vuDouble(VU->VF[_Fs_].i.z) * vuDouble(VU->VF[_Fs_].i.z);
if (p >= 0) {
p = sqrt(p);