Commit Graph
5466 Commits
Author SHA1 Message Date
orezraeyandClaude Opus 5.5 77a05cbfe9 fix(libSceHttp): parse status lines past lineLen as measured on a PS5
A payload process on a PS5 (firmware 13.60) parsed 124 status lines and
lengths. It checks lineLen only for its minimum of 8 and for the three
code digits, reads the version and its separators past it, and finds the
line feed up to and including the byte at lineLen, so a length that
stops right before the line feed still parses. When the version ends
past lineLen the unsigned subtractions wrap and the search continues
until a line feed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 08:24:19 -03:00
akkadbakkad89andDevin a212812dc1 feat(prx): declare exports for 5 inventory-covered system libraries
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-21 16:47:58 +05:30
Federico Marras cc7b9a7652 Merge remote-tracking branch 'upstream/main' into feat/kqueue-read-on-kqueue
# Conflicts:
#	docs/dev/debt/libkernel.md
2026-10-21 13:17:12 +02:00
Savvanis Spyros 123768abcd Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into fix/agc-release-mem-system-counter
# Conflicts:
#	docs/dev/debt/libSceAgcDriver.md
2026-10-21 14:15:53 +03:00
Dean 3e91c8edf5 Merge pull request #8850 from UnhealthyKraken/feat/libkernel-cfsetspeed
feat(libkernel): implement cfsetspeed
2026-10-22 00:13:16 +13:00
Savvanis SpyrosandClaude Opus 5.5 79a5d6b65a fix(libSceNpManager): refuse an unknown request in sceNpSetGamePresenceOnline
After the argument checks, shadPS4 looks the request up and returns
REQUEST_NOT_FOUND for one that was never created or was deleted. The
library already tracks live requests for sceNpSetTimeout.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 14:13:04 +03:00
Savvanis SpyrosandClaude Opus 5.5 1d0451f659 docs(relinker): note that a deferred module the title never loads gets no module_start
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 14:12:12 +03:00
Adrià b3f4783abc Merge pull request #7795 from fogydes/feat/remoteplay-firmware-exports
feat(libSceRemoteplay): export missing firmware remote play interfaces
2026-10-21 13:11:20 +02:00
David 6d8ff2d5b8 Merge branch 'main' into feat/agc-barycentric-tessellation-strips 2026-10-21 15:10:49 +04:00
Adrià 59776f2e6a Merge pull request #7841 from hypermoist/feat/libc-annex-k-remaining
feat(libc): implement the remaining C11 Annex K bounds-checking functions
2026-10-21 13:09:59 +02:00
Adrià eb4a7fee4e Merge pull request #7525 from AlexOfTheForest/feat/scanf-wide-linux
feat(libc): scan 16-bit wide conversions in the sscanf family on Linux
2026-10-21 13:09:54 +02:00
Adrià 98145b48d8 Merge pull request #7426 from DavidSamir/feat/shader-barycentric-tessellation-last-vertex
feat(agc): draw the last provoking vertex through the barycentric tessellation stages
2026-10-21 13:08:47 +02:00
Adrià 2cca5c0fd6 Merge pull request #7600 from milescoviello/feat/msaa-dcc-comp-to-single
feat(agc): take RADV's comp-to-single clear of a multisampled DCC target
2026-10-21 13:07:42 +02:00
orezraeyandClaude Opus 5.5 b9b9c07713 fix(libSceHttp): parse, build and merge URIs as measured on a PS5
A payload process on a PS5 (firmware 13.60) parsed, built and merged
several hundred URIs. sceHttpUriParse cuts the hostname at the first
byte that cannot be in it and starts the path there instead of failing,
takes the userinfo up to the first '@', accepts a port up to 65536 that
ends at '/' or the end, and gives https... schemes 443 and http...
schemes 80. It sweeps the path as sceHttpUriSweepPath does but sizes the
pool for the unswept path, and leaves require alone when the pool is too
small. sceHttpUriBuild writes IPv6 hostnames without brackets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 08:07:12 -03:00
akkadbakkad89 f57ef9986f feat(prx): declare exports for 66 inventory-covered system libraries 2026-10-21 16:30:58 +05:30
Federico Marras 15c0a386be Merge remote-tracking branch 'upstream/main' into feat/ngs2-waveform-frame-info
# Conflicts:
#	docs/dev/debt/libSceNgs2.md
#	docs/dev/debt/libSceNgs2.native.md
2026-10-21 12:57:17 +02:00
Federico Marras c8e99c7f71 Merge remote-tracking branch 'upstream/main' into feat/ngs2-voice-owner
# Conflicts:
#	docs/dev/debt/libSceNgs2.md
2026-10-21 12:56:14 +02:00
Adrià 275e896797 Merge pull request #7696 from MaxLikesCode/feat/agc-set-index-indirect-args
feat(libSceAgc): implement sceAgcDcbSetIndexIndirectArgs
2026-10-21 12:52:39 +02:00
Adrià 27fabb6b7d Merge pull request #7869 from savvaniss/feat/agc-polygon-mode
feat(agc): draw point and line polygon modes
2026-10-21 12:48:05 +02:00
Dean 80b1ebd36e Merge pull request #8862 from orezraey/fix/audiodec-word-length-measured-ps5
fix(libSceAudiodec): reject the PCM word sizes a PS5 rejects
2026-10-21 23:46:31 +13:00
Dean fd857beef1 Merge pull request #8854 from orezraey/fix/rtc-format-null-tick-measured-ps5
fix(libSceRtc): format the current time for a null tick as measured on a PS5
2026-10-21 23:46:27 +13:00
Dean a20fc89702 Merge pull request #8852 from nikowolf123/feat/voice-pause-resume-all
feat(libSceVoice): implement sceVoicePausePortAll and sceVoiceResumePortAll
2026-10-21 23:46:23 +13:00
Adrià FranchandClaude c5e861b868 docs(libSceNpWebApi2): drop title id from AddWebTraceTag debt line
Co-Authored-By: Claude <[email protected]>
2026-10-21 12:45:44 +02:00
jagrat Singh b9cdbf932d feat(libSceNpWebApi2): implement sceNpWebApi2AddWebTraceTag
Implement sceNpWebApi2AddWebTraceTag with the (int64_t request_id, const char* value) signature from shadPS4. Validates that value is not null, accepts any request id, and acts as a silent stub matching the other offline request functions.
2026-10-21 12:45:40 +02:00
jagrat Singh 54d1a8d6d6 feat(libSceNet): implement sceNetShowRoute6 2026-10-21 12:44:40 +02:00
jacob6769andClaude Opus 5.5 dc7be1b072 feat(libSceCesCs): convert EUC-KR, UHC and Big5 through the CP949 and CP950 tables
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 12:42:02 +02:00
Dean 9a8c2a1a05 Merge pull request #9003 from xdCloudy/feat/libSceNpManager-150-exports
feat(libSceNpManager): declare 150 pending exports
2026-10-21 23:32:40 +13:00
Dean f1f6626835 Merge pull request #8102 from Dragost/fix/libSceAvPlayer-sync-tolerance-and-eof-cleanup
fix(libSceAvPlayer): allow presenting video frames within sync tolerance
2026-10-21 23:31:28 +13:00
hypermistandClaude Opus 5.5 573113e8af feat(libSceAjm.native): build the WVorbis header packet
sceAjmDecWVorbisCreateHeaderPacket checks its 0x48-byte parameter as the
PS5 module does and writes a five-entry length table, a Vorbis
identification header from the parameters, an empty comment header and
the setup packet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 23:18:21 +13:00
Dean Galvin d8c89db757 Merge origin/main into PR 8561 2026-10-21 23:16:00 +13:00
hypermistandClaude Opus 5.5 e0f3e860a2 docs(libSceAudioOut): list sceAudioOut2LoTerminate under Silent stubs
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 23:11:19 +13:00
hypermistandClaude Opus 5.5 f347e96e38 fix(libSceAudioOut): return 0 from sceAudioOut2LoTerminate and forward sceAudioOut2InitializeEx
The PS5 module's sceAudioOut2LoTerminate stops the low-latency service
and returns 0 whether or not it runs; sceAudioOut2LoInit starts no
service here. sceAudioOut2InitializeEx stores its argument and runs
sceAudioOut2Initialize.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 23:10:16 +13:00
Dean 2abfb1beb4 Merge pull request #8983 from xdCloudy/feat/libSceNpCommon-150-exports
feat(libSceNpCommon): declare 150 pending exports
2026-10-21 23:07:33 +13:00
Dean 61922f66da Merge pull request #8949 from xdCloudy/feat/ps5-npsnsfacebookdialog-exports
feat(libSceNpSnsFacebookDialog): declare PS5 pending exports
2026-10-21 23:07:29 +13:00
Dean b5baeea5af Merge pull request #8119 from DavidSamir/feat/videodec2-unimplemented-exports
feat(libSceVideodec2): export thirteen functions as not implemented
2026-10-21 23:07:25 +13:00
Dean ee676246cf Merge pull request #6519 from Get-fix/ps4/kernel-system-module-path
feat(libkernel): load system libraries from their console paths
2026-10-21 23:07:21 +13:00
hypermistandClaude Opus 5.5 98e8a2b791 feat(libSceGameLiveStreaming): answer sceGameLiveStreamingGetProgramInfo with an empty program
The PS5 module returns 0x80A00002 for a null pointer and otherwise
clears the 0x134C-byte program info before filling it from the system
service. Nothing is broadcast here, so the info stays zero.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 23:06:19 +13:00
milescovielloandClaude Opus 5.5 f57bbc936a perf(agc): store only the depth plane units a flush overlaps
A read of memory inside a stale D32 Z_X depth plane (FlushDepthPlanes) stored
the whole plane: a copy of the depth image into the mirror, MarkWholeWritten
and a write-back of every byte. In Super Meat Boy 3D (#8840) a read-only
buffer ending about 3 KiB inside a stale 3840x2160 plane makes
ShaderResources::Revalidate flush ~1000 times per 5 s, each one moving
31.9 MiB, bound by transfer bandwidth.

A depth surface now tracks its plane as 64 KiB units, each one 128x128 tile
of the mirror's block units: a stale bit and a write generation per unit
replace memoryStale and the plane-wide syncedGeneration.

- FlushDepthPlanes stores only the stale units the range overlaps: the depth
  to mirror copy takes one region per unit rectangle (UnitRects, from the
  mirror's slice windows), the mirror marks just those units written
  (MarkUnitsWritten) and the write-back covers their hull. The other units
  stay stale and the plane stays registered. Stale bits are cleared only
  after the copy was recorded, and the stored units' generations advance
  only when FlushPending stored them. A depth fast clear still pending at
  the store rewrites the whole image, so it makes every unit stale first.
- SyncFromMemory copies from the mirror only the units the guest wrote since
  their own generation (one ChangedBlocks scan; untracked memory counts as
  unwritten, as WrittenSince did), so a guest write into one unit no longer
  replaces GPU depth that is still unstored in the others.
- Flushes followed by a retire keep the whole-plane store: the color target
  flush in Draw and a written storage view (DepthPlaneScope::Whole). The
  retire of an overwritten surface in DepthSurfaceTexture first stores its
  remaining stale units the guest did not write.
- A mirror without block units (APS5_NO_BLOCK_TRACKING, unaligned base)
  falls back to the whole-plane copy, and APS5_DEPTH_PLANE_WHOLE_STORE=1
  tracks the plane as one unit, the previous behaviour.
- DepthPlaneStoreCounts reports stores, units and bytes stored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 10:03:00 +00:00
Dean 7156315ef3 Merge pull request #8952 from xdCloudy/feat/ps5-ult-exports
feat(libSceUlt): declare PS5 pending exports
2026-10-21 23:00:33 +13:00
Dean 87e7bbc7e4 Merge pull request #8950 from xdCloudy/feat/ps5-savedata-exports
feat(libSceSaveData): declare PS5 pending exports
2026-10-21 23:00:29 +13:00
Dean add0185079 Merge pull request #8948 from xdCloudy/feat/ps5-npmanager-exports
feat(libSceNpManager): declare PS5 pending exports
2026-10-21 23:00:23 +13:00
Dean 8baf2b480d Merge pull request #8843 from christophermonterocortes-cr/feat/npcppwebapi-demangled-signatures
feat(libSceNpCppWebApi): align stub signatures with demangled symbols
2026-10-21 23:00:17 +13:00
Dean aa37bc7aef Merge pull request #6683 from EagleBearerYS/fix/agc-sample-location-grid-exact
fix(agc): keep the guest's sample order where pixel (0,0)'s locations stand in for a 2x2 grid
2026-10-21 23:00:12 +13:00
HQasperandClaude Opus 5.5 52a439bc70 feat(libSceLibreSsl): implement the MD4, MD5, SHA-1 and SHA-2 digests
MD4, MD5, SHA1, SHA224, SHA256, SHA384 and SHA512 Init/Update/Final and
the SHA256 one-shot threw. They now hash as LibreSSL does, on the
caller's MD4_CTX, MD5_CTX, SHA_CTX, SHA256_CTX and SHA512_CTX laid out as
in LibreSSL's md4.h, md5.h and sha.h, so a context copied or inspected
by the title stays valid: the bit count in Nl/Nh, the partial block in
data with its length in num, and md_len selecting the truncated digest.
Final pads and clears the buffer as LibreSSL's sources do.

Cases that differ between LibreSSL versions throw: SHA256 with a null
digest buffer and SHA512_Final with the SHA-512/224 or SHA-512/256
length. The test checks the RFC 1320, RFC 1321 and FIPS 180 vectors over
several chunk sizes, the context fields, copied contexts and those
cases.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-21 09:59:04 +00:00
Adrià FranchandClaude 4c153eca53 docs(dev): guide to reading call sites and library disassembly
Co-Authored-By: Claude <[email protected]>
2026-10-21 11:56:11 +02:00
Santhosh Kumar 303f15c078 docs(libSceFreeType): clarify Windows memory face limits 2026-10-21 15:22:04 +05:30
Santhosh Kumar 9f311ca8c1 feat(libSceFreeType): support memory fonts and face cleanup 2026-10-21 15:19:12 +05:30
Yossi Yadgar 1f407e5970 docs(debt): note where the new NpTus request checks come from 2026-10-21 12:33:20 +03:00
Dragost 3b40961d5d fix(libSceAvPlayer): allow presenting video frames within sync tolerance 2026-10-21 11:32:33 +02:00
Dean b5d763770a Merge pull request #8955 from xdCloudy/feat/ps5-videoout-exports
feat(libSceVideoOut): declare PS5 pending exports
2026-10-21 22:20:56 +13:00