From a3ea5def4a774a132cfda70b8b10e6826933e391 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Thu, 31 Oct 2024 21:32:36 +0100 Subject: [PATCH] blarg --- src/ARMJIT_Memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {