Changed 4 to ORBIS_KERNEL_MAP_OP_TYPE_PROTECT

This commit is contained in:
Antonio 2024-08-05 01:20:29 -04:00
parent b967f37312
commit 1a84804100
1 changed files with 2 additions and 2 deletions

View File

@ -282,8 +282,8 @@ s32 PS4_SYSV_ABI sceKernelBatchMap2(OrbisKernelBatchMapEntry* entries, int numEn
if (result == 0)
processed++;
<<<<<<< HEAD
} else if (entries[i].operation == 4) { // MPROTECT
} else if (entries[i].operation ==
MemoryOpTypes::ORBIS_KERNEL_MAP_OP_TYPE_PROTECT) { // MPROTECT
result =
sceKernelMProtect(entries[i].start, entries[i].length, entries[i].protection);
LOG_INFO(Kernel_Vmm,