Akebi-GC/injector/src/injector.cpp
CallowBlack c3a9f2a678 minor changes
`cheat-base` add x32 build
`manual map` and `load library` injection moved to `cheat-base`
removed unnecessary packet sniffer functionality
fixed several type conversionals
`cheat-library` now is startup by default
little changes in `Logger`, `PatternScanner`, `ProtoTransfer`
updated detours
2022-06-21 22:47:24 +03:00

14 lines
312 B
C++

#include "injector.h"
#include <cheat-base/inject/manual-map.h>
#include <cheat-base/inject/load-library.h>
bool InjectDLL(HANDLE hProc, const std::string& filepath)
{
#ifdef MANUAL_MAP
bool result = ManualMapDLL(hProc, filepath);
#else
bool result = LoadLibraryDLL(hProc, filepath);
#endif
return result;
}