mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
revert the changes to Steam_Apps::BIsAppInstalled()
, not it will return true for owned DLCs
This commit is contained in:
parent
2bde7e4eba
commit
d8f9741459
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user