summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Babin <philippe.babin@gmail.com>2018-09-23 03:17:43 +0200
committerPhilippe Babin <philippe.babin@gmail.com>2018-09-23 03:17:43 +0200
commitfb6bc2c49551da0ad4fc36ed19802bf77e4c2349 (patch)
tree25eceae3e2fb304b289a6e6f022cb3fbb9cf285b
parentMerge pull request #1378 from lioncash/thread (diff)
downloadyuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.tar
yuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.tar.gz
yuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.tar.bz2
yuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.tar.lz
yuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.tar.xz
yuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.tar.zst
yuzu-fb6bc2c49551da0ad4fc36ed19802bf77e4c2349.zip
Diffstat (limited to '')
-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);