mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
blarg
This commit is contained in:
parent
c1f43a66c2
commit
a3ea5def4a
@ -743,11 +743,11 @@ void ARMJIT_Memory::RegisterFaultHandler()
|
|||||||
ExceptionHandlerHandle = AddVectoredExceptionHandler(1, ExceptionHandler);
|
ExceptionHandlerHandle = AddVectoredExceptionHandler(1, ExceptionHandler);
|
||||||
|
|
||||||
KernelBaseDll = LoadLibrary("KernelBase.dll");
|
KernelBaseDll = LoadLibrary("KernelBase.dll");
|
||||||
/* if (KernelBaseDll)
|
if (KernelBaseDll)
|
||||||
{
|
{
|
||||||
virtualAlloc2Ptr = reinterpret_cast<VirtualAlloc2Type>(GetProcAddress(KernelBaseDll, "VirtualAlloc2"));
|
virtualAlloc2Ptr = reinterpret_cast<VirtualAlloc2Type>(GetProcAddress(KernelBaseDll, "VirtualAlloc2"));
|
||||||
mapViewOfFile3Ptr = reinterpret_cast<MapViewOfFile3Type>(GetProcAddress(KernelBaseDll, "MapViewOfFile3"));
|
mapViewOfFile3Ptr = reinterpret_cast<MapViewOfFile3Type>(GetProcAddress(KernelBaseDll, "MapViewOfFile3"));
|
||||||
}*/
|
}
|
||||||
|
|
||||||
if (!virtualAlloc2Ptr)
|
if (!virtualAlloc2Ptr)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user