summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar GPUCode2023-11-29 01:33:47 +0200
committerGravatar GPUCode2023-11-29 01:35:06 +0200
commit340548aba798ca2d0accf3bc3f0f787d15484946 (patch)
treeffbbe0e5e453549cc0fbec53569cd7cbbf8a8cdc
parentqt: add cpu_backend configuration (diff)
downloadyuzu-340548aba798ca2d0accf3bc3f0f787d15484946.tar.gz
yuzu-340548aba798ca2d0accf3bc3f0f787d15484946.tar.xz
yuzu-340548aba798ca2d0accf3bc3f0f787d15484946.zip
cmake: Move HAS_NCE to root cmake
* So we can use it in common
-rw-r--r--src/common/host_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp
index 413dd3e98..3a9ea6eb4 100644
--- a/src/common/host_memory.cpp
+++ b/src/common/host_memory.cpp
@@ -541,7 +541,7 @@ public:
541 if (write) { 541 if (write) {
542 flags |= PROT_WRITE; 542 flags |= PROT_WRITE;
543 } 543 }
544#ifdef ARCHITECTURE_arm64 544#ifdef HAS_NCE
545 if (execute) { 545 if (execute) {
546 flags |= PROT_EXEC; 546 flags |= PROT_EXEC;
547 } 547 }