summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2018-09-27 21:23:03 +0200
committerGitHub <noreply@github.com>2018-09-27 21:23:03 +0200
commit29ff84ea99f0f24fd1c91f187a7894f77c4da416 (patch)
treefd2cecd3193165849011862f3f69fb33a2be1e3a
parentMerge pull request #1397 from spycrab/cmake_bin (diff)
parentFPCR register was uninitialized at start up (diff)
downloadyuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.tar
yuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.tar.gz
yuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.tar.bz2
yuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.tar.lz
yuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.tar.xz
yuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.tar.zst
yuzu-29ff84ea99f0f24fd1c91f187a7894f77c4da416.zip
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index 7be5a38de..8760d17a8 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -174,7 +174,7 @@ ARM_Dynarmic::ARM_Dynarmic(std::shared_ptr<ExclusiveMonitor> exclusive_monitor,
std::size_t core_index)
: cb(std::make_unique<ARM_Dynarmic_Callbacks>(*this)), core_index{core_index},
exclusive_monitor{std::dynamic_pointer_cast<DynarmicExclusiveMonitor>(exclusive_monitor)} {
- ThreadContext ctx;
+ ThreadContext ctx{};
inner_unicorn.SaveContext(ctx);
PageTableChanged();
LoadContext(ctx);