Files
6gbvram---16gb-ram/apps/victory
victory-contributor ed81cb9ee0 play: keep VICTORY_HOME and VICTORY_ADAPTER through prepare (#472)
`prepare` clears every VICTORY_ variable not in KEPT before putting the
play settings in. VICTORY_HOME and VICTORY_ADAPTER were not in KEPT, but
both are read again after the clearing:

- Config::load in run resolves the cache and save folders, so with
  VICTORY_HOME set they still went to %LOCALAPPDATA%\victory (#472).
- The F1 menu's restart and the warm-up restart inherit this process's
  environment, so the next start read victory-settings.txt from
  %LOCALAPPDATA% instead of VICTORY_HOME, and its saved choices seemed lost.
- hardware_adapter reads VICTORY_ADAPTER when the host device is made, so
  a named card was passed over for the one with the most memory.

Adds both to KEPT, with a test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 9f05995e1752dcd5a4e2698c0ea54d523df83940)
2026-11-27 17:29:37 -08:00
..