summaryrefslogtreecommitdiffstats
path: root/src/core/arm/exclusive_monitor.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-11 02:11:27 +0100
committerGitHub <noreply@github.com>2022-11-11 02:11:27 +0100
commitd05b183f2118a5e2c919c35023549f30201bdd7c (patch)
tree082cf6bb2e372c3233872b836fa96bdc0c25f279 /src/core/arm/exclusive_monitor.cpp
parentMerge pull request #9180 from Docteh/remove_stuff (diff)
parentInitial ARM64 support (diff)
downloadyuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar
yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.gz
yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.bz2
yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.lz
yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.xz
yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.zst
yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.zip
Diffstat (limited to 'src/core/arm/exclusive_monitor.cpp')
-rw-r--r--src/core/arm/exclusive_monitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/exclusive_monitor.cpp b/src/core/arm/exclusive_monitor.cpp
index 2db0b035d..20550faeb 100644
--- a/src/core/arm/exclusive_monitor.cpp
+++ b/src/core/arm/exclusive_monitor.cpp
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#ifdef ARCHITECTURE_x86_64
+#if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64)
#include "core/arm/dynarmic/arm_exclusive_monitor.h"
#endif
#include "core/arm/exclusive_monitor.h"
@@ -13,7 +13,7 @@ ExclusiveMonitor::~ExclusiveMonitor() = default;
std::unique_ptr<Core::ExclusiveMonitor> MakeExclusiveMonitor(Memory::Memory& memory,
std::size_t num_cores) {
-#ifdef ARCHITECTURE_x86_64
+#if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64)
return std::make_unique<Core::DynarmicExclusiveMonitor>(memory, num_cores);
#else
// TODO(merry): Passthrough exclusive monitor