From 6bebae6c7ba793e1fa327f3364621a80db541025 Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Sat, 25 Feb 2023 14:58:24 +0100 Subject: [PATCH] GlobalMode: inject tweaks early if globalmode && global mode BPM --- GlosSITarget/SteamTarget.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GlosSITarget/SteamTarget.cpp b/GlosSITarget/SteamTarget.cpp index 4437c88..7568919 100644 --- a/GlosSITarget/SteamTarget.cpp +++ b/GlosSITarget/SteamTarget.cpp @@ -328,6 +328,12 @@ void SteamTarget::init_FuckingRenameMe() steamwindow = FindWindow(L"Steam Big Picture Mode", nullptr); Sleep(50); } + + if (cef_tweaks_enabled_) { + steam_tweaks_.setAutoInject(true); + steam_tweaks_.update(999); + } + Sleep(6000); // DIRTY HACK to wait until BPM (GamepadUI) is initialized // TODO: find way to force BPM even if BPM is not active LoadLibrary((steam_path_ / "GameOverlayRenderer64.dll").wstring().c_str());