mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-05 14:39:58 +00:00
shader: Fix CC in I2I
This commit is contained in:
parent
23b8714732
commit
2516829e4c
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
|
||||||
if (i2i.cc != 0) {
|
if (i2i.cc != 0) {
|
||||||
v.SetZFlag(v.ir.GetZeroFromOp(result));
|
v.SetZFlag(v.ir.GetZeroFromOp(result));
|
||||||
v.SetSFlag(v.ir.GetSignFromOp(result));
|
v.SetSFlag(v.ir.GetSignFromOp(result));
|
||||||
|
v.ResetCFlag();
|
||||||
|
v.ResetOFlag();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
Loading…
Reference in a new issue