mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
blarg
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user