feat(libSceDiscMap): return no-bitmap status for sceDiscMapGetPackageSize #9997
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9997"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by StoneDC on 2026-10-23T03:30:51Z.
What
Implement
sceDiscMapGetPackageSizeinlibSceDiscMap:SCE_DISC_MAP_ERROR_NO_BITMAP_INFO(0x81100004) without modifying caller output pointers, matching existing module behavior when disc bitmap metadata is absent.core/libs/tests/GuestDiscMap.cppverifying return code and preserved caller outputs.docs/dev/debt/libSceDiscMap.md.Tested
Linux (Ubuntu 26.04 x86_64, GCC 15.2.0),
guest_discmap_testspassed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T04:04:04Z.
Review: CHANGES_REQUESTED
The implementation and focused test pass locally on this exact head: I compiled
Export.cppwithGuestDiscMap.cppusing GCC 12.2 (-O2 -Wall -Wextra -Werror) and ran the executable successfully. Conventions, test-registration audit (172 scripts), and diff check also pass. Hosted eligibility/conventions/intake/labels/report checks pass; product builds are skipped.Blocking overlap: #8647 is still open and already implements this same
sceDiscMapGetPackageSizeno-bitmap behavior, leaving outputs untouched, with tests and source evidence. The difference between the two tests' output widths does not make these separate functions or fixes.CONTRIBUTING.mdrequires checking for an open PR that implements the same function before starting. Please coordinate with #8647's author and resolve which PR carries this implementation before proceeding; this is about the duplicate implementation, not the overall PR count.Pull request closed