Repository navigation
HLE: report the single supported offline user - #398
ToxicmaggotRP wants to merge 1 commit into
Conversation
|
Thanks @ToxicmaggotRP for making the offline-user limit explicit. I tested head Result: 2 passed, 0 failed (85 filtered out). The tests cover the reported maximum of one offline user and startup adding that user and returning its ID. They validate the HLE object behavior, not a title’s full sign-in flow. |
mercuryVM
left a comment
There was a problem hiding this comment.
Tested 1d6f71e on Windows 11, RTX 5070, MSVC: cargo test --workspace --no-fail-fast passes (265 passed, 0 failed).
XUserGetMaxUsers reporting 1 matches the single offline user this HLE ever adds. put gives the usual E_INVALIDARG for a null output, and the test checks both paths. Moving "maximum users" out of the unset-slots comment keeps that comment accurate.
No issues found.
AI-assisted (Claude Code).
…ine user Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1d6f71e to
22cc74e
Compare
Review workers over ~45 more PRs against the merged upstream tree. Integrated: Marvisak#1394 (antisymmetric XUserCompare), Marvisak#1390 (A8_UNORM is not in the R8 typeless family), Marvisak#1499 (deep 3D mips stay out of the thick tail, plus a regression test the PR lacked), Marvisak#1366 (mesh stage I/O does not parse VS inputs), Marvisak#1594 (the title's exit status reaches the shell), Marvisak#1299 (docs: validator prerequisite), Marvisak#1515 (dialog commands before init), Marvisak#1424 (empty submissions skip the lock), Marvisak#1144 (shader differential skips are reported), Marvisak#1129 (64 MB pipeline-worker stacks), Marvisak#1564/Marvisak#1565/Marvisak#1566 (MakeResident, Evict and SetStablePowerState succeed as the console's do), Marvisak#1250 (a zero element count reads to the end of the buffer), Marvisak#1628 (texture-creation failure logs its states). Re-applied after the upstream merge dropped them: f32_to_half NaN and ties-to-even (Marvisak#843), unique-temp library writes (Marvisak#1660), VICTORY_PIPELINE_WORKERS (Marvisak#1728), VICTORY_MODE (Marvisak#1701). Removed: the orphaned depth-bounds test file, whose implementation (9a6d9e6) the merge dropped and which no module compiled. Refused: Marvisak#1099 (writing 0 for an unpaired p1 interpolation computes wrong values; two reviewers upstream and one here reached the same conclusion). Duplicates: Marvisak#1217, Marvisak#529, Marvisak#531, Marvisak#590, Marvisak#1102, Marvisak#398, Marvisak#1150, Marvisak#1220. Gate at efda2c5: fmt 0 differing, both Clippy gates 0 errors, policy 219 files, workspace 674 passed / 0 failed with the 10 documented pre-existing GPU skips.
|
Automated triage for the maintainers. Needs work. This fills xuser vtable slot 0x30 ( CI: no check runs on the head commit. Generated by Claude Code |
Title:
HLE: implement the maximum supported offline users query
Summary
0x30.1, matching VIctory's current single-offline-user HLE implementation.puthelper to validate and write the output parameter.Context
The current XUser implementation exposes one offline local user, but the maximum-users method was still returning
E_NOTIMPL.This implements that missing part of the current single-user HLE model.
Related discussion: #348. This change does not claim to resolve the initialization crash reported there; that still requires a reproduction with the modified build.
Tests
maximum_users_reports_the_single_offline_user.S_OKand a maximum user count of1.E_INVALIDARGfor a null output pointer.cargo testhas not yet been run on this branch.AI ASSISTED (CHATGPT)