mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Created a define to not compile overlay.
This commit is contained in:
parent
40d7237ab0
commit
d87760b78b
16 changed files with 36 additions and 34 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#include "Base_Hook.h"
|
||||
|
||||
#ifndef NO_OVERLAY
|
||||
|
||||
#include <algorithm>
|
||||
#include "Hook_Manager.h"
|
||||
|
||||
|
|
@ -38,4 +40,6 @@ void Base_Hook::HookFunc(std::pair<void**, void*> hook)
|
|||
{
|
||||
if( DetourAttach(hook.first, hook.second) == 0 )
|
||||
_hooked_funcs.emplace_back(hook);
|
||||
}
|
||||
}
|
||||
|
||||
#endif//NO_OVERLAY
|
||||
Loading…
Add table
Add a link
Reference in a new issue