arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0

On MSVC builds we treat conversion warnings as errors.
pull/8/head
ReinUsesLisp
parent edb2114bac
commit 778043a44c

@ -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) {

Loading…
Cancel
Save