Repository navigation
Conversation
implements eight of ten exports. sceKernelInitializeDipsw, sceKernelIsAssistMode, sceKernelIsDevelopmentMode, sceKernelIsDisableRazor and sceKernelGetDiableBinaryVersionCheckValue return the retail-unit values documented across the ps4 and ps5 scene baselines (shadps4, kyty, openorbis). sceKernelCheckDipsw, sceKernelSetDipsw and sceKernelUnsetDipsw take a uint16_t bit index and operate on an in-memory 65536-bit switch block under a mutex. sceKernelReadDipswData and sceKernelWriteDipswData keep throwing until their buffer shape is settled.
Progress report (41bb4ae → 4e1d4b5)📈 System libraries: 43.04% (+0.02%, +8 implemented functions) ✅ 8 implemented
⚪ 5 behaviourally empty (constant return or throw)
Changed libraries (implemented exports)
|
|
Checked the decrypted 13.40 module (
If the goal is to reproduce the module, answering 0 for ids 0 to 255 and |
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
Nothing blocks this change; the review is incomplete because the existing debt record conflicts with the new ABI claims.
What I ran
Reviewed head 4e1d4b513546e0677ed1eb83a76bb1c20c13e114 using repo_read.py to inspect the prepared diff, changed files, and targeted references. No tests or build were run; the PR description reports none.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed files | passed | All three changed files read |
| Targeted caller search | passed | No other references found |
| Build and tests | not run | No execution performed |
Findings
Blocking
None.
Non-blocking
- The existing
docs/dev/debt/libSceDipsw.mdstill says the switch functions have no credible prototypes, that their declarations are parameterless placeholders, and that callers must not call them. This contradicts the newly documenteduint16_tsignatures and implementations. Please update the existing debt entry alongside this change. The discrepancy is evidenced bydocs/dev/debt/changes/libscedipsw-retail-state-queries.md:7.
Not verified
- No build, tests, or console behavior were run. The author reports that convention and debt-fold checks pass, but those results were not independently verified.
- Read:
core/libs/prx/libSceDipsw/Export.cpp,core/libs/prx/libSceDipsw/include/Api.hpp,docs/dev/debt/changes/libscedipsw-retail-state-queries.md, anddocs/dev/debt/libSceDipsw.md. The latter was targeted context, not listed as changed. No changed files were excluded;files.jsonwas not available through the reader.
To get this to a good state
Nothing is required. Optional: update the existing debt record to reflect the new signatures and behavior.
|
@Xaviel, I am closing this one. The Dipsw query answers come from other projects' defaults rather than a console measurement, there are no tests, and no title we know of imports these queries, so it would not change what any game does. If you find a title that calls them, or measure the retail answers on a PS5, please reopen with that and it goes to review. |
What
implements 8 of 10 libscedipsw exports. four arg-less queries return the retail-unit values documented across the ps4 and ps5 scene baselines (shadps4, kyty, openorbis): sceKernelIsAssistMode, sceKernelIsDevelopmentMode, sceKernelIsDisableRazor and sceKernelGetDiableBinaryVersionCheckValue. sceKernelInitializeDipsw returns 0 as a no-op. sceKernelCheckDipsw, sceKernelSetDipsw and sceKernelUnsetDipsw take a uint16_t bit index and operate on an in-memory 65536-bit switch block under a mutex, so a set is visible to the next check. sceKernelReadDipswData and sceKernelWriteDipswData keep throwing until their buffer shape is settled across public sources. debt fragment updates the existing debt entry.
Tested
not tested. convention check and debt_fold --check pass on the working tree. no full build on this machine.
Checklist