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

- Fix VF5E Crash

- Fix VF5E Crash
This commit is contained in:
Nico Giansanti 2021-07-02 23:34:06 +03:00
parent 14e24f2983
commit 7ba3c1a78b

View File

@ -376,7 +376,15 @@ HRESULT __stdcall Hook_DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFI
static InitFunction initFunc([]()
{
if (GameDetect::currentGame == GameID::PokkenTournament || GameDetect::currentGame == GameID::PokkenTournament26 || GameDetect::currentGame == GameID::FNFDrift || GameDetect::currentGame == GameID::FNFSC || GameDetect::currentGame == GameID::FNF || GameDetect::currentGame == GameID::FNFSB || GameDetect::currentGame == GameID::FNFSB2 || GameDetect::currentGame == GameID::JLeague)
if (GameDetect::currentGame == GameID::PokkenTournament
|| GameDetect::currentGame == GameID::PokkenTournament26
|| GameDetect::currentGame == GameID::FNFDrift
|| GameDetect::currentGame == GameID::FNFSC
|| GameDetect::currentGame == GameID::FNF
|| GameDetect::currentGame == GameID::FNFSB
|| GameDetect::currentGame == GameID::FNFSB2
|| GameDetect::currentGame == GameID::JLeague
|| GameDetect::currentGame == GameID::VF5Esports)
return;
MH_Initialize();