diff options
| author | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 00:20:15 +0100 |
|---|---|---|
| committer | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 00:21:03 +0100 |
| commit | 64a2c0184e17bf3f7388013a1c7266903c6543b1 (patch) | |
| tree | b66f7839852ea5f3af7ef3914b7ce4114d4de4f9 /runtime/src/xma2_decoder.cpp | |
| parent | 7768d10c3cc227a63ab7fde5778f14e542a30601 (diff) | |
launcher: batched output pump; the low-commit warning follows the F1 menu's console
Two review findings by merzleckeier on #3182.
Output pump (on dafad4ca9): the window's pump drained the whole output queue and
appended once per line, so a run that floods the pipe (the runtime's stderr with
-Log off, #3175) could freeze the window. Ported the design and names of #3192
by 1mshy: OUTPUT_BATCH = 2000, OUTPUT_RESUME_MS = 10 and a pure take_output()
that joins each run of one process's lines into one ("lines", proc, [...]) item,
keeps exit/update/info/rail items in order and leaves the rest queued; one
insert per run, rescheduled after 10 ms while more is queued. The overhaul's
info, rail and finished() handling is kept. #3192's two OutputPumpTests ported
(with info and rail items), plus 10,001 lines = one insert a turn and a check
that the pump goes through take_output.
Low-commit warning (on 7768d10c3): the Play card's warning took the profile from
the launcher's settings alone, while play-d3d12.ps1 -Chosen / play-nvidia.ps1
("What the F1 menu saved") let the F1 menu's LEONIDA_MENU_CONSOLE win when the
launcher's profile has not changed since the last PLAY (and at the first PLAY,
-Chosen none). New pure effective_console(settings, menu) with that order; the
Play card's line uses it and is refreshed when the F1 file is read again (focus,
finished()). The Settings note keeps following the live control; the existing
"F1 menu: Series X" note under the profile says when the menu holds another.
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