Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef _DEBUG
- if (is_unhookable)
- {
- bool is_active = true;
- input_system::register_hotkey(VK_DELETE, [&is_active]()
- {
- if (render::menu::is_visible())
- render::switch_hwnd();
- is_active = false;
- });
- while (is_active)
- Sleep(500);
- LI_FN(FreeLibraryAndExitThread)(static_cast<HMODULE>(base), 1);
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement