upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorAlfredo Peres <alfredoperes0310@gmail.com>2026-12-01 16:45:24 -0300
committerAlfredo Peres <alfredoperes0310@gmail.com>2026-12-01 16:45:24 -0300
commit61a47216ce61346988a83b8b91cf003ef0fde3d4 (patch)
tree5d5ce394a683436ba0bcdd74fa9d6aff8625b858 /runtime/test/code_hooks_test.cpp
parent8677729c94be264210a101dc98bb83c51bf59d31 (diff)
d3d12-loader: test the levers' entry, and a lowest scale alone reaches 1.0 on Series S
Review of 8677729c9 (KelboLive): - resolution_levers, the loader's only entry to the levers (windows.rs), was not pinned: replacing its apply_levers call with nothing still passed. A test now calls it with the environment set under a lock and put back, with a hash that starts as the 1.0.2.1 build's and with another one, and with no lever set. - A lowest scale with neither a pinned scale nor LEONIDA_OWN_UPSCALER (F1's LOWEST SCALE alone) still took the lowest as the ceiling. The title's own dynamic resolution rises to max(lowest, 1.0) on Series S whichever way it is reached, so a lowest scale now has a ceiling of 1.0 too. Both shown to fail without the fix: dropping the apply_levers call fails the new entry test; the old ceiling fails the lowest-alone case. cargo test --locked -p leonida-loader --lib with LEONIDA_GAME_DIR: 88 passed; clippy -D warnings clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions