arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0

On MSVC builds we treat conversion warnings as errors.
This commit is contained in:
ReinUsesLisp 2020-06-18 16:52:15 -03:00
parent edb2114bac
commit 778043a44c

View file

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