diff options
| author | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 04:33:10 +0100 |
|---|---|---|
| committer | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 04:33:10 +0100 |
| commit | 96765c480fb804d5ef45950ddd2b49c3ac7e2ffc (patch) | |
| tree | 21779a213440d4388932850c5c4433fe8f6a1ea1 /runtime/src/xma2_decoder.cpp | |
| parent | 192a1eec6d2059f22a7853cd979c05a1c9d559c9 (diff) | |
launcher, play-nvidia: a new card is no player change; -CardMask survives SAVE AND RESTART; cache tests per platform; Advanced cache dir
merzleckeier's review of 4b64ba9e4:
- Two Clear shader cache tests expected Windows' cache-2 while calling the
platform default, so they failed on Linux (CI's linux-python-and-viewer).
They pass windows=True now (clear_shader_cache takes `windows`).
- After an NVIDIA PLAY, choosing the AMD card made -Chosen name Adapter, Dlss,
FrameGen, NoDlss and SmoothMotion: -Chosen compared for_card's output with
last_switches, so the card filter looked like the player's edits and the
F1 merge dropped the saved DLSS, frame generation and Smooth Motion. Now
-Chosen compares the player's own switches (switch_args of the saved
settings, -Log for a diagnostic start) and last_switches keeps those too
(launch_snapshot, still taken with the queued command); the card's part
goes as -CardMask only.
- play-nvidia.ps1's LEONIDA_MENU_ARGS (the F1 menu's SAVE AND RESTART)
carries -CardMask, so a masked LEONIDA_FRAME_GEN=2 stays masked on the
restarted start.
- Clear shader cache clears a LEONIDA_CACHE_DIR typed in the Advanced
options, the cache PLAY uses on both systems, instead of the default.
Tests: test_a_new_card_is_no_change_of_the_players (NVIDIA PLAY then AMD:
-Chosen is Adapter only, -CardMask the three); the snapshot test now expects
the player's switches; test_an_advanced_cache_dir_is_the_one_cleared;
test_win_launchers runs the generated restart command (-CardMask in it,
LEONIDA_FRAME_GEN masked, the upscale the stretch). Launcher suite 139 OK on
Windows and 139 OK (2 skipped) under Linux (WSL Ubuntu, Python 3.12), where
the old tests fail on the two cache tests as in CI; test_win_launchers 12 OK.
Counter-tests: the old snapshot/chosen and no Advanced lookup fail 3 of 3;
no -CardMask in the restart arguments fails the restart case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions