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
+3
View File
@@ -38,7 +38,10 @@ DWORD WINAPI OnDllAttach(LPVOID base)
const auto hModulePtr = reinterpret_cast<uintptr_t>(hModule); const auto hModulePtr = reinterpret_cast<uintptr_t>(hModule);
// Initialize GMalloc. // Initialize GMalloc.
do
{
SDK::GMalloc = *reinterpret_cast<SDK::FMalloc**>(hModulePtr + OffsetGMalloc); SDK::GMalloc = *reinterpret_cast<SDK::FMalloc**>(hModulePtr + OffsetGMalloc);
} while (SDK::GMalloc == nullptr);
// Initialize MinHook. // Initialize MinHook.
if (MH_Initialize() != MH_OK) if (MH_Initialize() != MH_OK)
Binary file not shown.
@@ -3,8 +3,8 @@
"Prospect.Server.Api": { "Prospect.Server.Api": {
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": "true", "dotnetRunMessages": "true",
"launchBrowser": true, "launchBrowser": false,
"applicationUrl": "https://A22AB.localhost:5555", "applicationUrl": "http://localhost:8888",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }