Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

cmake: Move HAS_NCE to root cmake

GPUCodefab81ee39d42
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp
index 413dd3e98a..3a9ea6eb4f 100644
--- a/src/common/host_memory.cpp
+++ b/src/common/host_memory.cpp
@@ -541,7 +541,7 @@ public:
if (write) {
flags |= PROT_WRITE;
}
-#ifdef ARCHITECTURE_arm64
+#ifdef HAS_NCE
if (execute) {
flags |= PROT_EXEC;
}