Add a common include file.

This commit is contained in:
Nemirtingas 2020-07-16 11:56:24 +02:00
parent 25ee1dfa52
commit fe9bbd1104
36 changed files with 236 additions and 250 deletions

View file

@ -125,7 +125,7 @@ DX9_Hook::DX9_Hook():
PresentEx(nullptr),
Reset(nullptr)
{
_library = LoadLibrary(DLL_NAME);
_library = LoadLibrary(DX9_DLL);
}
DX9_Hook::~DX9_Hook()
@ -153,7 +153,7 @@ DX9_Hook* DX9_Hook::Inst()
const char* DX9_Hook::get_lib_name() const
{
return DLL_NAME;
return DX9_DLL;
}
void DX9_Hook::loadFunctions(IDirect3DDevice9* pDevice, bool ex)