Skip to content

fix(menu): the Aspect ratio's move for older files skips runs with HOS_ASPECT - #2541

Merged
NotRexed merged 1 commit into
NotRexed:mainfrom
pmwork-personal:fix/aspect-hos-aspect-guard
Nov 12, 2026
Merged

NotRexed merged 1 commit into
NotRexed:mainfrom
pmwork-personal:fix/aspect-hos-aspect-guard

Conversation

@pmwork-personal

Copy link
Copy Markdown
Contributor

#2119's review asked for this, and it came after the merge. menu_init takes the shape the host started with as the move of an older options file's 16:9. HOS_ASPECT, a debugging switch host/hos_main.c takes instead of the options file, sets that shape too: one run with HOS_ASPECT=1.6 and an older ultrawide=0 moved the row to Monitor's shape, and the next save kept it, a choice the player never made.

What changed

  • gpu/vk/vk_menu.cpp menu_init: the move skips runs with HOS_ASPECT set, as hos_main.c does.
  • tests/test_aspect_default.py pins the condition. Without it the check fails (tried by taking the condition out).

Tested

  • tests/run_all.py on Windows (llvm-mingw) on main 2dfe901: 421 passed, 33 skipped, 2 failed, both outside this change: test_vram_budget_row (fails the same on main here: clang stops on the unused kVramMinimumOnly) and test_portable_builder_startup (its dotnet publish needs packages this PC does not have).
  • Not run in game: it only changes what a run with the debugging switch saves.

🤖 Generated with Claude Code

…S_ASPECT

menu_init took the shape the host started with as the move of an older
file's 16:9. HOS_ASPECT, a debugging switch host/hos_main.c takes instead of
the options file, sets that shape too: one run with it (HOS_ASPECT=1.6, say)
moved an older ultrawide=0 to the monitor's shape, and the next save kept
it. The move now skips runs with HOS_ASPECT set, as hos_main.c does.
test_aspect_default.py pins the condition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants