mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
Implement the unloaded no-bitmap path for sceDiscMapGetPackageSize, returning SCE_DISC_MAP_ERROR_NO_BITMAP_INFO (0x81100004) and leaving outputs untouched before argument checks. Update the public declaration, definition, and test fixtures to use 64-bit outputs (uint64_t*) per firmware 13.42 module execution on x86-64. Replaces stalled #8647. Co-authored-by: Niko <[email protected]>
2.4 KiB
2.4 KiB
libSceDiscMap technical debt
Functional
- libSceDiscMap: loading disc bitmap metadata and resolving file byte ranges to bitmap blocks are not implemented.
sceDiscMapIsRequestOnHDD,ioKMruft1ekandsceDiscMapGetPackageSizeimplement the confirmed no-bitmap path: returnSCE_DISC_MAP_ERROR_NO_BITMAP_INFO(0x81100004) before validating any argument and leave outputs unchanged. The supplied module confirms signed 64-bit byte offset/size, a 32-bitIsRequestOnHDDresult and three 64-bit outputs forioKMruft1ek. A PC run of the firmware 13.42 module on x86-64 (#8647 comment 6416230506, not a console measurement) confirmssceDiscMapGetPackageSizereturns0x81100004before argument checks while its bitmap-state word is clear; its loaded state and bitmap loading remain unimplemented.
Unknown function info
- sceDiscMapGetPackageSize (libSceDiscMap) - name and NID are in the PS5 3.20 export inventory. A PC run of the 13.42 module (#8647 comment 6416230506, not a console measurement) establishes two 64-bit outputs (
uint64_t*). The unloaded state returns0x81100004without writing outputs; the loaded state has other results and remains unimplemented.
Additional callable exports
- Additional callable exports - 2 entries observed in the 3.20 export inventory and present in the later 13.60-labelled inventory are import-resolution declarations only. The later inventory label does not authenticate a retail firmware version. Parameter lists, return types and behavior are unverified; parameterless
intdeclarations are placeholders, not verified ABI contracts. Every entry throws throughNotImplemented_nid_no_patch. Unidentified names use literal NID aliases. No runtime functionality is implemented. Data exports require separate layout and ownership analysis. Identified candidate names match their NIDs in the public symbol database or supplemental catalog.
| Name | NID |
|---|---|
Unknown |
5+vOlukvkfg |
Unknown |
fJgP+wqifno |