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

APM3 updates

Add Aime_hasConfirmValue so we can use more easily with online emu, should be made a hotkey.
This commit is contained in:
Reaver 2022-01-17 05:14:13 +02:00
parent 3d7de1013e
commit 5fc7d8db24
3 changed files with 5 additions and 2 deletions

View File

@ -1019,6 +1019,7 @@ static InitFunction initVF5TestFunc([]()
static InitFunction initGoonyaFunc([]()
{
HookAPM3(L"SDGX");
Aime_hasConfirmValue = true;
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
auto mod = LoadLibraryA(".\\Goonya Fighter_Data\\Plugins\\abaasgs.dll");
if (mod == nullptr)

View File

@ -5,6 +5,7 @@
#include "Aime.h"
bool Aime_isDBAliveReturnValue = true;
bool Aime_hasConfirmValue = false;
bool CALLPLEB Aime_acceptConfirm()
{
@ -67,7 +68,7 @@ bool CALLPLEB Aime_hasConfirm()
#ifdef _LOGAPM3AIME
info(true, "Aime_hasConfirm");
#endif
return false;
return Aime_hasConfirmValue;
}
bool CALLPLEB Aime_hasError()

View File

@ -55,4 +55,5 @@ bool CALLPLEB Aime_setLedError();
bool CALLPLEB Aime_setLedSuccess();
bool CALLPLEB Aime_start();
extern bool Aime_isDBAliveReturnValue;
extern bool Aime_isDBAliveReturnValue;
extern bool Aime_hasConfirmValue;