run: an output Series S cannot take is refused, show a proper error for the user #373
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!373
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-373"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@delacor on GitHub · 2026-12-03 21:06 UTC · original
delacor:fix/series-s-output-refused→main· +18 −3 · 1 files · 1 commits · merged 2026-12-05 17:26 UTCseries_s_outputknew that the Series S profile's title takes at most 1920x1080 -- its display buffers come from a block sized for 1080p, and at 2560x1440 the second swap chain buffer found 3.25 MiB left of its 15 and the title stopped at its own check while starting (#66) -- but the caller only printed the reason and carried on:So a run.conf that inherited
VICTORY_OUTPUT=2560x1440(the default in run.conf.default, a Series X size) withCONSOLE=series-sstarted anyway and died a second later: an exception in the title's own check, which reads as a crash of ours. Two of them here, at +0x28f03e8 (divide by zero) and +0x56a2afd (breakpoint), both with E_INVALIDARG in a register and neither saying what was wrong.The refusal now ends the run before any title code, and says what to do:
A test holds the refusal to naming both ways out. 1920x1080 and 1280x720 still start, and Series X is untouched.
@Luxuride on GitHub · 2026-12-04 12:20 UTC · original
Small, correct, and it removes a real user trap. Nothing to argue about.
a_refusal_names_the_way_out) fails before the change and passes after, so it is a genuine regression guard rather than a test written to match the code.anyhow::bail!instead ofeprintln!+ return is the substantive half: carrying on leaves the title stopping at its own internal check, which reads to a user as a crash with no explanation. The comment saying that is worth keeping.CONSOLE=series-sand leavesseries-xuntouched (SERIES_S_LARGEST_OUTPUT = (1920, 1080),series_s_outputgated#[cfg(any(windows, test))],run()gated#[cfg(windows)]). If so, nothing else moves — and saying so saves the next reader the check.Malformed sizes still fall through
Ok(None)as before; unchanged by this PR, which is the right scope.50 behind, no conflict. Rebase and land.