mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-27 12:05:43 +00:00
x86jit: Fix vavg scale.
Was completely wrong, darn it.
This commit is contained in:
parent
8a089ee583
commit
a1864b2c78
@ -3171,7 +3171,7 @@ void Jit::Comp_Vhoriz(MIPSOpcode op) {
|
||||
}
|
||||
}
|
||||
if (((op >> 16) & 31) == 7) { // vavg
|
||||
MULSS(fpr.VSX(dregs), M(&vavg_table[n]));
|
||||
MULSS(fpr.VSX(dregs), M(&vavg_table[n - 1]));
|
||||
}
|
||||
ApplyPrefixD(dregs, V_Single);
|
||||
fpr.ReleaseSpillLocks();
|
||||
@ -3199,7 +3199,7 @@ void Jit::Comp_Vhoriz(MIPSOpcode op) {
|
||||
case 6: // vfad
|
||||
break;
|
||||
case 7: // vavg
|
||||
MULSS(reg, M(&vavg_table[n]));
|
||||
MULSS(reg, M(&vavg_table[n - 1]));
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user