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