Small fix, maybe

This commit is contained in:
AeonLucid
2021-10-30 05:09:34 +02:00
parent 560a39a70b
commit 003fb32189
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -38,7 +38,10 @@ DWORD WINAPI OnDllAttach(LPVOID base)
const auto hModulePtr = reinterpret_cast<uintptr_t>(hModule);
// Initialize GMalloc.
SDK::GMalloc = *reinterpret_cast<SDK::FMalloc**>(hModulePtr + OffsetGMalloc);
do
{
SDK::GMalloc = *reinterpret_cast<SDK::FMalloc**>(hModulePtr + OffsetGMalloc);
} while (SDK::GMalloc == nullptr);
// Initialize MinHook.
if (MH_Initialize() != MH_OK)
Binary file not shown.
@@ -3,8 +3,8 @@
"Prospect.Server.Api": {
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "https://A22AB.localhost:5555",
"launchBrowser": false,
"applicationUrl": "http://localhost:8888",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}