Config: the Series S title memory for every Series S spelling #48

Manually merged
github merged 1 commit from gh-pr/48/head into gh-pr/48/base 2026-11-26 04:06:21 +00:00
Owner

@⁠gefydev on GitHub · 2026-11-22 21:34 UTC · original
gefydev:config-series-s-memory → main · +19 −2 · 1 files · 1 commits · merged 2026-11-22 21:41 UTC

is_series_s() accepts device_type = "lockhart" and "series s", and it decides XSystemGetDeviceType, the OEM ConsoleMode and the texture layout. Config::resolve and title_memory_budget_mb compared device_type with "lockhart" only. So "series s" gave the title a Series S with the Series X budget (13 824 MB), and it took XboxAnacondaTitleMemory from the manifest instead of XboxLockhartTitleMemory. Both now call is_series_s().

Validation

  • New test every_series_s_spelling_gets_the_series_s_memory: on main, "Series S" resolves to ("standard", 13824); with the fix it resolves to ("advanced", 8192), the same as "lockhart".
  • cargo test -p xcl --lib: 330 passed, 0 failed, on Windows GNU under Wine.
**@⁠gefydev** on GitHub · 2026-11-22 21:34 UTC · [original](https://github.com/xcl-dev/xcl/pull/48) `gefydev:config-series-s-memory` → `main` · +19 −2 · 1 files · 1 commits · merged 2026-11-22 21:41 UTC `is_series_s()` accepts `device_type = "lockhart"` and `"series s"`, and it decides `XSystemGetDeviceType`, the OEM `ConsoleMode` and the texture layout. `Config::resolve` and `title_memory_budget_mb` compared `device_type` with `"lockhart"` only. So `"series s"` gave the title a Series S with the Series X budget (13 824 MB), and it took `XboxAnacondaTitleMemory` from the manifest instead of `XboxLockhartTitleMemory`. Both now call `is_series_s()`. ## Validation - New test `every_series_s_spelling_gets_the_series_s_memory`: on `main`, `"Series S"` resolves to `("standard", 13824)`; with the fix it resolves to `("advanced", 8192)`, the same as `"lockhart"`. - `cargo test -p xcl --lib`: 330 passed, 0 failed, on Windows GNU under Wine.
is_series_s() takes "lockhart" and "series s", and decides the device
type, the OEM ConsoleMode and the texture layout. resolve() and
title_memory_budget_mb() compared device_type with "lockhart" only, so
device_type = "series s" gave a Series S with the Series X budget
(13 824 MB) and the manifest's XboxAnacondaTitleMemory. Both use
is_series_s() now.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:06:20 +00:00
github manually merged commit 4e5c45a778 into gh-pr/48/base 2026-11-26 04:06:21 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-22 21:42 UTC · original

Thanks, merged! It's the right fix, using is_series_s() everywhere the device type decides something. All tests pass with the MSVC toolchain on Windows, including the e2e test title.

**@⁠ivall** on GitHub · 2026-11-22 21:42 UTC · [original](https://github.com/xcl-dev/xcl/pull/48#issuecomment-7086247789) Thanks, merged! It's the right fix, using `is_series_s()` everywhere the device type decides something. All tests pass with the MSVC toolchain on Windows, including the e2e test title.
This discussion has been locked. Commenting is limited to contributors.
No description provided.