summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-18 22:07:15 +0200
committerGitHub <noreply@github.com>2020-06-18 22:07:15 +0200
commitbfa6193eb9857d4e7e244382a3ffbaccca7b1031 (patch)
treeff746fe478bb6a4368cb2573dc2aef42a23798b4
parentMerge pull request #4092 from Morph1984/image-bindings (diff)
parentarm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0 (diff)
downloadyuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.tar
yuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.tar.gz
yuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.tar.bz2
yuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.tar.lz
yuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.tar.xz
yuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.tar.zst
yuzu-bfa6193eb9857d4e7e244382a3ffbaccca7b1031.zip
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
index e7456a8c3..19d798dc7 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
@@ -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) {