mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 07:52:31 +00:00
update result
Co-authored-by: baggins183 <baggins31084@proton.me>
This commit is contained in:
parent
a88750eea8
commit
f0f8f9c1c7
@ -393,7 +393,7 @@ void Translator::S_AND_B32(NegateMode negate, const GcnInst& inst) {
|
|||||||
}
|
}
|
||||||
IR::U32 result{ir.BitwiseAnd(src0, src1)};
|
IR::U32 result{ir.BitwiseAnd(src0, src1)};
|
||||||
if (negate == NegateMode::Result) {
|
if (negate == NegateMode::Result) {
|
||||||
result = ir.BitwiseNot(ir.BitwiseAnd(src0, src1));
|
result = ir.BitwiseNot(result);
|
||||||
}
|
}
|
||||||
SetDst(inst.dst[0], result);
|
SetDst(inst.dst[0], result);
|
||||||
ir.SetScc(ir.INotEqual(result, ir.Imm32(0)));
|
ir.SetScc(ir.INotEqual(result, ir.Imm32(0)));
|
||||||
|
Loading…
Reference in New Issue
Block a user