fix(steam): keep a cleared FEX default for a listed title as a native choice

A listed title whose automatic FEX mapping the player clears now records
the empty mapping as a native choice, as titles with NATIVE_CHOICE do,
instead of getting FEX again on the next run.
This commit is contained in:
phj1081 authored and Kurt Himebauch committed 2026-11-05 14:22:15 -05:00
1 parent 28d4f58f33
commit 7e0859872b
2 files changed
+41 -1

No files matched your search

@@ -1084,7 +1084,7 @@ def plan_mapping(current, installed, runnable, default, auto, native=None, picks
continue
mine = auto.get(app)
target = native.get(app, default)
if not name and app in native_choices:
if not name and (app in native_choices or (app in current and app in FEX_DEFAULT_APPS)):
target = NATIVE_CHOICE
stale = unrunnable(name, runnable)
if name and not stale and (mine is None or name != mine):