Fix compiler error

This commit is contained in:
Kawe Mazidjatari 2022-12-28 15:38:34 +01:00
parent 56c48f2949
commit 700bb48494
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ void CMaterialSystem_Attach()
if (!find_IMI_ref.empty())
{
void* imiRetAddr = find_IMI_ref.at(0).Offset(0x5).RCast<void*>();
g_CrashHandler->AddToWhitelist(imiRetAddr);
g_CrashHandler->AddWhitelist(imiRetAddr);
}
#endif // !_DEBUG

View File

@ -35,8 +35,8 @@ public:
const char* ExceptionToString(DWORD nExceptionCode) const;
void SetExceptionPointers(EXCEPTION_POINTERS* pExceptionPointers) { m_pExceptionPointers = pExceptionPointers; };
void AddWhitelist(void* pWhiteList);
void RemoveWhitelist(void* pWhiteList);
void AddWhitelist(void* pWhitelist);
void RemoveWhitelist(void* pWhitelist);
bool HasWhitelist();
void GetCallStack();