x86jit: Respect dirty even for non-simd.

This commit is contained in:
Unknown W. Brackets 2014-11-26 23:22:12 -08:00
parent f63c165f64
commit 039510a3e3

View file

@ -574,7 +574,9 @@ void FPURegCache::StoreFromRegister(int i) {
} else {
OpArg newLoc = GetDefaultLocation(i);
xregs[xr].mipsReg = -1;
emit->MOVSS(newLoc, xr);
if (xregs[xr].dirty) {
emit->MOVSS(newLoc, xr);
}
regs[i].location = newLoc;
}
xregs[xr].dirty = false;