msvc: fix compile warning on arm64

This commit is contained in:
Shawn Hoffman 2021-11-11 02:12:09 -08:00
parent 4008188654
commit 58dc9e7049
1 changed files with 2 additions and 1 deletions

View File

@ -926,7 +926,8 @@ void JitArm64::mtfsfx(UGeckoInstruction inst)
if (LogicalImm imm = LogicalImm(mask, 32))
{
AND(WA, WA, LogicalImm(~mask, 32));
const u32 inverted_mask = ~mask;
AND(WA, WA, LogicalImm(inverted_mask, 32));
AND(WB, WB, imm);
}
else