diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-15 14:53:01 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-15 20:15:50 +0200 |
commit | aeadbfa790b11ba859605df8a9357b960084b2a0 (patch) | |
tree | eb46f94603e38f81ccf443024357ad567d5ef15b /src/core/arm/dynarmic/arm_dynarmic.h | |
parent | core: Make CPUBarrier a unique_ptr instead of a shared_ptr (diff) | |
download | yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.tar yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.tar.gz yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.tar.bz2 yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.tar.lz yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.tar.xz yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.tar.zst yuzu-aeadbfa790b11ba859605df8a9357b960084b2a0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.h b/src/core/arm/dynarmic/arm_dynarmic.h index 4ee92ee27..512bf8ce9 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.h +++ b/src/core/arm/dynarmic/arm_dynarmic.h @@ -23,7 +23,7 @@ class DynarmicExclusiveMonitor; class ARM_Dynarmic final : public ARM_Interface { public: - ARM_Dynarmic(std::shared_ptr<ExclusiveMonitor> exclusive_monitor, std::size_t core_index); + ARM_Dynarmic(ExclusiveMonitor& exclusive_monitor, std::size_t core_index); ~ARM_Dynarmic(); void MapBackingMemory(VAddr address, std::size_t size, u8* memory, @@ -62,7 +62,7 @@ private: ARM_Unicorn inner_unicorn; std::size_t core_index; - std::shared_ptr<DynarmicExclusiveMonitor> exclusive_monitor; + DynarmicExclusiveMonitor& exclusive_monitor; Memory::PageTable* current_page_table = nullptr; }; |