From f00fdac3ac48c1e992edf26520ab3a97795fa5a5 Mon Sep 17 00:00:00 2001 From: otavepto Date: Sun, 17 Mar 2024 01:22:18 +0200 Subject: [PATCH] update comment + changelog --- CHANGELOG.md | 5 +++++ dll/steam_apps.cpp | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8403d0..6ce199ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +* **[bitsynth]** Fix Age of Empires 2: Definitive Edition, the game expects the app itself to be an owned DLC + otherwise most options will be disabled + +--- + # 2024/3/16 * manage overlay cursor input/clipping and internal frame processing in a better way, should prevent more games from pausing to display notifications diff --git a/dll/steam_apps.cpp b/dll/steam_apps.cpp index 02361b31..05e9b734 100644 --- a/dll/steam_apps.cpp +++ b/dll/steam_apps.cpp @@ -93,7 +93,11 @@ bool Steam_Apps::BIsDlcInstalled( AppId_t appID ) std::lock_guard lock(global_mutex); if (appID == 0) return true; if (appID == UINT32_MAX) return false; // check Steam_Apps::BIsAppInstalled() - if (appID == settings->get_local_game_id().AppID()) return true; //TODO is this correct? + + // Age of Empires 2: Definitive Edition expects the app itself to be an owned DLC. + // otherwise it will only load the "Return of Rome" game mode, also most options are disabled + if (appID == settings->get_local_game_id().AppID()) return true; + return settings->hasDLC(appID); }