summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-11-06 22:45:36 +0100
committerLiam <byteslice@airmail.cc>2022-11-09 22:58:49 +0100
commitcbaf642ffe4b05f8796798ebdc5c6892605928cc (patch)
tree8ac4094f709da71b334c152e111247c89c958cee /src/core/hle
parentMerge pull request #9215 from liamwhite/swordfight (diff)
downloadyuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.tar
yuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.tar.gz
yuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.tar.bz2
yuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.tar.lz
yuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.tar.xz
yuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.tar.zst
yuzu-cbaf642ffe4b05f8796798ebdc5c6892605928cc.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/physical_core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/physical_core.cpp b/src/core/hle/kernel/physical_core.cpp
index d4375962f..3044922ac 100644
--- a/src/core/hle/kernel/physical_core.cpp
+++ b/src/core/hle/kernel/physical_core.cpp
@@ -12,7 +12,7 @@ namespace Kernel {
PhysicalCore::PhysicalCore(std::size_t core_index_, Core::System& system_, KScheduler& scheduler_)
: core_index{core_index_}, system{system_}, scheduler{scheduler_} {
-#ifdef ARCHITECTURE_x86_64
+#if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64)
// TODO(bunnei): Initialization relies on a core being available. We may later replace this with
// a 32-bit instance of Dynarmic. This should be abstracted out to a CPU manager.
auto& kernel = system.Kernel();
@@ -26,7 +26,7 @@ PhysicalCore::PhysicalCore(std::size_t core_index_, Core::System& system_, KSche
PhysicalCore::~PhysicalCore() = default;
void PhysicalCore::Initialize([[maybe_unused]] bool is_64_bit) {
-#ifdef ARCHITECTURE_x86_64
+#if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64)
auto& kernel = system.Kernel();
if (!is_64_bit) {
// We already initialized a 64-bit core, replace with a 32-bit one.