From b865e324c2e0168e0f0397b782d90c7bd6d88e9b Mon Sep 17 00:00:00 2001 From: DrChat Date: Tue, 19 Dec 2017 19:36:10 -0600 Subject: [PATCH] [Base] Handle exec R/W mapped file handles --- src/xenia/base/memory_posix.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/base/memory_posix.cc b/src/xenia/base/memory_posix.cc index 085d5b2ff..68fdcd61b 100644 --- a/src/xenia/base/memory_posix.cc +++ b/src/xenia/base/memory_posix.cc @@ -72,6 +72,7 @@ FileMappingHandle CreateFileMappingHandle(std::wstring path, size_t length, oflag = O_RDONLY; break; case PageAccess::kReadWrite: + case PageAccess::kExecuteReadWrite: oflag = O_RDWR; break; default: