1
0
mirror of synced 2024-11-14 23:07:36 +01:00

APM3 Goonya Fighter works

APM3 Goonya Fighter works
This commit is contained in:
Nico Giansanti 2021-07-16 13:47:07 +03:00
parent ff5d60734f
commit fa3ae41411

View File

@ -824,6 +824,12 @@ static InitFunction initVF5TestFunc([]()
static InitFunction initGoonyaFunc([]()
{
auto d = LoadLibraryA("apm.dll");
if (d == nullptr)
{
MessageBoxA(0, "Cannot load apm.dll!", "Error", 0);
ExitProcess(0);
}
HookAPM3();
wcscpy(APM3GameId, L"SDGX");
__int64 mainModuleBase = (__int64)GetModuleHandle(0);