mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
interp: Correct dprefix accuracy for vrot.
Ignores cosine lane, not always x.
This commit is contained in:
parent
56ff555309
commit
2da1bf7ffc
1 changed files with 3 additions and 2 deletions
|
@ -1629,8 +1629,9 @@ namespace MIPSInt
|
|||
d[cosineLane] = cosine;
|
||||
}
|
||||
|
||||
// D prefix works, just not for x.
|
||||
currentMIPS->vfpuCtrl[VFPU_CTRL_DPREFIX] &= 0xFFEFC;
|
||||
// D prefix works, just not for the cosine lane.
|
||||
uint32_t dprefixRemove = (3 << cosineLane) | (1 << (8 + cosineLane));
|
||||
currentMIPS->vfpuCtrl[VFPU_CTRL_DPREFIX] &= 0xFFFFF ^ dprefixRemove;
|
||||
ApplyPrefixD(d, sz);
|
||||
WriteVector(d, sz, vd);
|
||||
PC += 4;
|
||||
|
|
Loading…
Add table
Reference in a new issue