VERY experimental Nintendo Switch 2 emulator
C++
general: fix mac compile
Liam82c5e2472eee
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cppindex 4cbc22b853..413dd3e98a 100644--- a/src/common/host_memory.cpp+++ b/src/common/host_memory.cpp@@ -621,6 +621,8 @@ public:void Protect(size_t virtual_offset, size_t length, bool read, bool write, bool execute) {}+ void EnableDirectMappedAddress() {}+u8* backing_base{nullptr};u8* virtual_base{nullptr};};diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cppindex d2e9f2a2e3..6c29eb72c8 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_NCEif (Settings::IsNceEnabled()) {auto& buffer = m_kernel.System().DeviceMemory().buffer;const auto& code = code_set.CodeSegment();