diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d8d35c9..78c52139 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ * **[breaking]** removed the setting `disable_account_avatar` in favor of the new one `enable_account_avatar`, this feature is now disabled by default * new option `add_steam_preowned_ids` in `configs.main.ini` which allows adding a lot of Steam builtin and preowned IDs to the DLC list, and the emu's list of installed apps * added a workaround for Steam Input, set `disable_steamoverlaygameid_env_var=1` inside `configs.main.ini`, might not work though +* reverted the changes to `Steam_Apps::BIsAppInstalled()`, now it will return true when the given app id is found in the DLC list, this function is also controlled via `installed_app_ids.txt` * removed the limit on the amount of characters for local saves * allow specifying absolute paths for local saves * removed the warning for using `force_xxx.txt` files from the overlay, since it's no longer relevant, also removed the code which disables the user input when this warning was displayed diff --git a/dll/steam_apps.cpp b/dll/steam_apps.cpp index 23ba71dd..2b725738 100644 --- a/dll/steam_apps.cpp +++ b/dll/steam_apps.cpp @@ -325,11 +325,9 @@ bool Steam_Apps::BIsAppInstalled( AppId_t appID ) if (appID == UINT32_MAX) return false; if (appID == settings->get_local_game_id().AppID()) return true; - // only check for DLC if the the list is limited/bounded, - // calling hasDLC() when unlockAllDLCs is true will always satisfy the below condition - if (!settings->allDLCUnlocked() && settings->hasDLC(appID)) { - return false; - } + // TODO is this correct? + // the docs say that this function won't work on DLCs, but HITMAN 3 uses it on every DLC + if (settings->hasDLC(appID)) return true; return settings->appIsInstalled(appID); }