mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
armjit: Read fpu control regs other than 0/31 as 0.
Always seem to give zero, regardless of the value of fcr31, etc.
This commit is contained in:
1 parent
763eff181d
commit
3c73d0d1f1
1 file changed
+3
@@ -351,6 +351,9 @@ void Jit::Comp_mxc1(MIPSOpcode op)
|
||||
#endif
|
||||
} else if (fs == 0) {
|
||||
gpr.SetImm(rt, MIPSState::FCR0_VALUE);
|
||||
} else {
|
||||
// Unsupported regs are always 0.
|
||||
gpr.SetImm(rt, 0);
|
||||
}
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user