2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #4108 from ReinUsesLisp/a32-implicit-cast

arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0
This commit is contained in:
bunnei 2020-06-18 16:07:15 -04:00 committed by GitHub
commit bfa6193eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,7 @@ u64 ARM_Dynarmic_32::GetTPIDR_EL0() const {
} }
void ARM_Dynarmic_32::SetTPIDR_EL0(u64 value) { void ARM_Dynarmic_32::SetTPIDR_EL0(u64 value) {
cp15->uprw = value; cp15->uprw = static_cast<u32>(value);
} }
void ARM_Dynarmic_32::SaveContext(ThreadContext32& ctx) { void ARM_Dynarmic_32::SaveContext(ThreadContext32& ctx) {