mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-02 12:56:05 +00:00
Implement scePlayGoRequestOptionalChunk, scePlayGoGetRequiredDisc, scePlayGoRequestNextChunk and scePlayGoSetInstallSpeed2 with the argument checks and error codes that pgo_stub and rps5e agree on: a null option or output is BAD_POINTER, an optional chunk type above 2 is BAD_OPTIONAL_TYPE, scenario bits from 5 up are BAD_SCENARIO_CONFIGURATION, a non-null reserved pointer or a nonzero reserved argument is INVALID_ARGUMENT, a speed above FULL is BAD_SPEED and SUSPENDED is EPERM. Every chunk is installed, so the required disc is 0 and no next chunk is pending. scePlayGoSetInstallSpeed2 takes no handle and returns NOT_INITIALIZED before scePlayGoInitialize or after scePlayGoTerminate, so the library now records whether it is initialized. Remove the debt entry that listed three of these exports as unknown and throwing, and record the initialization checks the sources make that are not applied, and that PrefetchOptionalChunk keeps its no-op.