diff options
author | Mat M <mathew1800@gmail.com> | 2020-04-29 03:38:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 03:38:02 +0200 |
commit | 5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537 (patch) | |
tree | 8cbc182d51d517e71841f9a84ffe84934680807a /src/core/hle/kernel | |
parent | Merge pull request #3784 from ReinUsesLisp/shader-memory-util (diff) | |
parent | physical_core: Make use of std::make_unique instead of std::make_shared in ctor (diff) | |
download | yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.tar yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.tar.gz yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.tar.bz2 yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.tar.lz yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.tar.xz yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.tar.zst yuzu-5cb531b6cf37ca28b5ed6226c8a5d14e3a8fd537.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/physical_core.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/physical_core.cpp b/src/core/hle/kernel/physical_core.cpp index aa2787467..a15011076 100644 --- a/src/core/hle/kernel/physical_core.cpp +++ b/src/core/hle/kernel/physical_core.cpp @@ -27,7 +27,9 @@ PhysicalCore::PhysicalCore(Core::System& system, std::size_t id, std::make_unique<Core::ARM_Dynarmic_64>(system, exclusive_monitor, core_index); #else - arm_interface = std::make_shared<Core::ARM_Unicorn>(system); + using Core::ARM_Unicorn; + arm_interface_32 = std::make_unique<ARM_Unicorn>(system, ARM_Unicorn::Arch::AArch32); + arm_interface_64 = std::make_unique<ARM_Unicorn>(system, ARM_Unicorn::Arch::AArch64); LOG_WARNING(Core, "CPU JIT requested, but Dynarmic not available"); #endif |