We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae483c commit 861c9dcCopy full SHA for 861c9dc
src/client/Latite.cpp
@@ -303,6 +303,7 @@ DWORD __stdcall startThread(HINSTANCE dll) {
303
Logger::Info("Resolved {} signatures ({} dead)", sigCount, deadCount);
304
#endif
305
306
+ MH_Initialize();
307
new (hooks) LatiteHooks();
308
309
new (keyboardBuf) Keyboard(reinterpret_cast<int*>(Signatures::KeyMap.result));
src/client/hook/Hooks.cpp
@@ -15,9 +15,7 @@
15
using namespace std::chrono_literals;
16
17
18
-LatiteHooks::LatiteHooks() {
19
- MH_Initialize();
20
-}
+LatiteHooks::LatiteHooks() {}
21
22
LatiteHooks::~LatiteHooks() {
23
MH_Uninitialize();
0 commit comments