|
|
|
@ -61,6 +61,7 @@ int SteamTarget::run()
|
|
|
|
|
auto closeBPM = false;
|
|
|
|
|
auto closeBPMTimer = sf::Clock{};
|
|
|
|
|
if (!SteamOverlayDetector::IsSteamInjected()) {
|
|
|
|
|
if (Settings::common.allowStandAlone) {
|
|
|
|
|
spdlog::warn("GlosSI not launched via Steam.\nEnabling EXPERIMENTAL global controller and overlay...");
|
|
|
|
|
if (Settings::common.standaloneModeGameId == L"") {
|
|
|
|
|
spdlog::error("No game id set for standalone mode. Controller will use desktop-config!");
|
|
|
|
@ -104,6 +105,7 @@ int SteamTarget::run()
|
|
|
|
|
overlay_.lock()->setEnabled(false);
|
|
|
|
|
steam_overlay_present_ = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
spdlog::info("Steam-overlay detected.");
|
|
|
|
|
spdlog::warn("Double press Steam- overlay key(s)/Controller button to show GlosSI-overlay"); // Just to color output and really get users attention
|
|
|
|
|