Update Nemirtingas overlay to latest.

This commit is contained in:
Mr_Goldberg
2022-08-05 02:06:42 -04:00
parent df94c38b0f
commit c17fb0c931
82 changed files with 48737 additions and 59872 deletions

View File

@ -643,6 +643,12 @@ inline bool file_exists (const std::string& name) {
return (stat (name.c_str(), &buffer) == 0);
}
#ifdef DETOURS_64BIT
#define DLL_NAME "steam_api64.dll"
#else
#define DLL_NAME "steam_api.dll"
#endif
HMODULE (WINAPI *Real_GetModuleHandleA)(LPCSTR lpModuleName) = GetModuleHandleA;
HMODULE WINAPI Mine_GetModuleHandleA(LPCSTR lpModuleName)
{