1
0
mirror of synced 2025-01-20 17:48:51 +01:00

Made window not always topmost

This commit is contained in:
Aaron M 2019-11-17 13:14:49 +13:00
parent b9053222bb
commit 91b522daeb

View File

@ -136,6 +136,9 @@ static InitFunction StarWarsEs3XFunc([]()
MH_CreateHookApi(L"hasp_windows_x64_100610.dll", "hasp_login", Hook_hasp_login, NULL);
MH_CreateHookApi(L"xinput1_3.dll", "XInputGetState", &XInputGetStateStarWars, NULL);
MH_EnableHook(MH_ALL_HOOKS);
// Window not topmost!
injector::WriteMemory<BYTE>(imageBase + 0x14F6238, 0x00, true);
if (ToBool(config["General"]["2D DomeFix"]))
{