Remove checks for various iOS non-jit situations in settings

This commit is contained in:
Henrik Rydgard 2016-08-28 19:00:13 +02:00
parent 2fd81a4b29
commit dde50cbdf5
2 changed files with 3 additions and 12 deletions

View file

@ -303,7 +303,7 @@ void ProtectMemoryPages(const void* ptr, size_t size, uint32_t memProtFlags) {
if ((memProtFlags & (MEM_PROT_WRITE | MEM_PROT_EXEC)) == (MEM_PROT_WRITE | MEM_PROT_EXEC))
PanicAlert("Bad memory protect : W^X is in effect, can't both write and exec");
}
// Note - both VirtualProtect will affect the full pages containing the requested range.
// Note - VirtualProtect will affect the full pages containing the requested range.
// mprotect does not seem to, at least not on Android unless I made a mistake somewhere, so we manually round.
#ifdef _WIN32
uint32_t protect = ConvertProtFlagsWin32(memProtFlags);