Merge pull request #9856 from JosJuice/jitarm64-msvc-warning

JitArm64: Fix MSVC warning '~': zero extending 'u32' to 'u64'
This commit is contained in:
Tilka 2021-06-29 12:39:54 +01:00 committed by GitHub
commit 6320861c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -714,7 +714,8 @@ void JitArm64::mcrfs(UGeckoInstruction inst)
if (mask != 0)
{
ANDI2R(WA, WA, ~mask);
const u32 inverted_mask = ~mask;
ANDI2R(WA, WA, inverted_mask);
STR(IndexType::Unsigned, WA, PPC_REG, PPCSTATE_OFF(fpscr));
}