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