yuzu-emu
/
yuzu
Archived
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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