diff options
| author | 2023-11-29 01:33:47 +0200 | |
|---|---|---|
| committer | 2023-11-29 01:35:06 +0200 | |
| commit | 340548aba798ca2d0accf3bc3f0f787d15484946 (patch) | |
| tree | ffbbe0e5e453549cc0fbec53569cd7cbbf8a8cdc | |
| parent | qt: add cpu_backend configuration (diff) | |
| download | yuzu-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.cpp | 2 |
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 | } |