Removed unused/replaced function

This commit is contained in:
Diavolo 2021-07-18 22:54:46 +02:00
parent f09305c315
commit 6197b0f5be
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -380,14 +380,6 @@ namespace Components
}
}
template <typename T> std::function < T > ImportFunction(const std::string& dll, const std::string& function)
{
auto dllHandle = GetModuleHandleA(&dll[0]);
auto procAddr = GetProcAddress(dllHandle, &function[0]);
return std::function < T >(reinterpret_cast<T*>(procAddr));
}
QuickPatch::QuickPatch()
{
QuickPatch::FrameTime = 0;