mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-31 06:57:28 +05:00
Fix for old FLA
This commit is contained in:
parent
928800795c
commit
330fa38f4c
1 changed files with 5 additions and 1 deletions
|
@ -10,6 +10,10 @@ void FLAUtils::Init()
|
||||||
HMODULE hFLA = GetModuleHandle("$fastman92limitAdjuster.asi");
|
HMODULE hFLA = GetModuleHandle("$fastman92limitAdjuster.asi");
|
||||||
if ( hFLA != nullptr )
|
if ( hFLA != nullptr )
|
||||||
{
|
{
|
||||||
GetExtendedIDFunc = reinterpret_cast<decltype(GetExtendedIDFunc)>(GetProcAddress( hFLA, "GetExtendedIDfrom16bitBefore" ));
|
auto function = reinterpret_cast<decltype(GetExtendedIDFunc)>(GetProcAddress( hFLA, "GetExtendedIDfrom16bitBefore" ));
|
||||||
|
if ( function != nullptr )
|
||||||
|
{
|
||||||
|
GetExtendedIDFunc = function;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue