diff --git a/src/ARMJIT_Memory.cpp b/src/ARMJIT_Memory.cpp index d189d046..657b16b0 100644 --- a/src/ARMJIT_Memory.cpp +++ b/src/ARMJIT_Memory.cpp @@ -743,11 +743,11 @@ void ARMJIT_Memory::RegisterFaultHandler() ExceptionHandlerHandle = AddVectoredExceptionHandler(1, ExceptionHandler); KernelBaseDll = LoadLibrary("KernelBase.dll"); -/* if (KernelBaseDll) + if (KernelBaseDll) { virtualAlloc2Ptr = reinterpret_cast(GetProcAddress(KernelBaseDll, "VirtualAlloc2")); mapViewOfFile3Ptr = reinterpret_cast(GetProcAddress(KernelBaseDll, "MapViewOfFile3")); - }*/ + } if (!virtualAlloc2Ptr) {