summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-11-27 01:50:10 +0100
committerLiam <byteslice@airmail.cc>2023-11-27 01:50:10 +0100
commit15f35b8657ef863ea3df0d141521b72c61f0069f (patch)
tree922146eff6e598643619ab350abe3f25201f3172 /src/core/hle
parentloader: fix gcc compile (diff)
downloadyuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.tar
yuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.tar.gz
yuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.tar.bz2
yuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.tar.lz
yuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.tar.xz
yuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.tar.zst
yuzu-15f35b8657ef863ea3df0d141521b72c61f0069f.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/k_process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp
index d2e9f2a2e..6c29eb72c 100644
--- a/src/core/hle/kernel/k_process.cpp
+++ b/src/core/hle/kernel/k_process.cpp
@@ -1215,7 +1215,7 @@ void KProcess::LoadModule(CodeSet code_set, KProcessAddress base_addr) {
ReprotectSegment(code_set.RODataSegment(), Svc::MemoryPermission::Read);
ReprotectSegment(code_set.DataSegment(), Svc::MemoryPermission::ReadWrite);
-#ifdef ARCHITECTURE_arm64
+#ifdef HAS_NCE
if (Settings::IsNceEnabled()) {
auto& buffer = m_kernel.System().DeviceMemory().buffer;
const auto& code = code_set.CodeSegment();