Skip to content
Snippets Groups Projects
Commit 778043a4 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0

On MSVC builds we treat conversion warnings as errors.
parent edb2114b
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ u64 ARM_Dynarmic_32::GetTPIDR_EL0() const { ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment