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

Fix VF test menu switching

This commit is contained in:
Harm 2021-07-07 23:40:04 +02:00
parent 65f74a3681
commit 12a5e5fc43
2 changed files with 49 additions and 48 deletions

View File

@ -598,7 +598,7 @@ char __fastcall Input_isOffNow(unsigned int a1)
int __fastcall Input_isOn(unsigned int buttonId)
{
#ifdef _DEBUG
info(true, "Input_isOn");
info(true, "Input_isOn id: %u", buttonId);
#endif
return g_APM3IOValues[buttonId];
}
@ -606,7 +606,7 @@ int __fastcall Input_isOn(unsigned int buttonId)
char __fastcall Input_isOnNow(unsigned int buttonId)
{
#ifdef _DEBUG
info(true, "Input_isOnNow");
info(true, "Input_isOnNow id: %u", buttonId);
#endif
return g_APM3IOValues[buttonId];
}
@ -1078,6 +1078,7 @@ static InitFunction initVF5TestFunc([]()
strcpy(APM3GameId, "SDHF");
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
if (strstr(GetCommandLineA(), "-tptest") != NULL)
Sequence_isTestReturnValue = 1;
}, GameID::VF5EsportsTest);