Skip to content

Commit

Permalink
Patch init vmStandart
Browse files Browse the repository at this point in the history
  • Loading branch information
RePag-net committed Jun 27, 2020
1 parent 8dead26 commit b7ae1a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RePagMem/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReser
switch(ul_reason_for_call){
case DLL_PROCESS_ATTACH: GetSystemInfo(&stSystem_Info);
CPUID(stSystem_Info);
vmStandart = InitVirtualMem(true);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH: break;
case DLL_THREAD_DETACH: break;
case DLL_PROCESS_DETACH: FreeVirtualMem(vmStandart); break;
}
return TRUE;
}
Expand Down

0 comments on commit b7ae1a5

Please sign in to comment.