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

Merged
gefydev merged 1 commit from upstream-pr/48 into main 2026-11-22 21:41:50 +00:00
gefydev commented 2026-11-22 21:34:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gefydev on 2026-11-22T21:34:45Z.


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.
<!-- greyfinch-sync:ivall/xcl:issue:6548083691 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/48). Originally posted by [gefydev](https://github.com/gefydev) on 2026-11-22T21:34:45Z. --- `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.
upstream-sync closed this pull request 2026-11-24 06:56:54 +00:00
ivall commented 2026-11-24 07:00:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-22T21:42:03Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7086247789 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/48#issuecomment-7086247789). Originally posted by [ivall](https://github.com/ivall) on 2026-11-22T21:42:03Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!47
No description provided.