Commit Graph
5229 Commits
Author SHA1 Message Date
Dean 994829e44b Merge pull request #8733 from p3n1cillin/codex/libc-unlocked-status-20261020
feat(libc): implement unlocked stream status queries
2026-10-21 14:24:31 +13:00
Arnab Ghosh a7d5b6a89a feat(libSceNpTus): run the remaining multi-slot variable calls offline 2026-10-21 07:24:18 +06:00
Dean Galvinandmazen dc38f31983 Merge main into fix/skip-inaccessible-branched-scalar-load
Shader disk cache FormatVersion 43: main took 42 with #7966, and this
change also changes the cached plan.

Co-authored-by: mazen <[email protected]>
2026-10-21 14:23:05 +13:00
Dean 7697443281 Merge pull request #8653 from Ondra97/codex/fix-net-dontwait
fix(net): keep MSG_DONTWAIT transfers nonblocking on Windows
2026-10-21 14:19:19 +13:00
Dean 3b5a24c0d6 Merge pull request #8075 from johandavidcm/feat/agc-sample-committer
feat(agc): sample the draw committer with APS5_SAMPLE_COMMITTER
2026-10-21 14:12:36 +13:00
Dean dd9b54a42a Merge pull request #8745 from mpratsaki/fix/relinker-windows-same-file-checks
fix(relinker): use the Windows file identity in module and executable checks
2026-10-21 13:53:59 +13:00
Felipebmaitan b122786155 fix(libSceRudp): accept setters for unreadable options 2026-10-20 21:41:57 -03:00
Felipebmaitan a006418d72 style(libSceRudp): use camelCase context arguments 2026-10-20 21:41:04 -03:00
Felipebmaitan a473096926 feat(libSceRudp): retain and query context options 2026-10-20 21:41:04 -03:00
xXPBSXxandClaude Sonnet 5.5 79569a7a3d fix(libkernel): let pthread_kill with signal 0 report ESRCH for a thread that has ended
pthread_kill(thread, 0) returned 0 for every handle other than the caller's before it asked whether the thread was still alive. FreeBSD's _pthread_kill looks the thread up with _thr_find_thread before it checks for signal 0, so the call answers ESRCH for a thread that has ended or was never a thread. The liveness check now runs before the signal 0 shortcut; the calling thread still answers 0.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-21 02:29:54 +02:00
Dean 57fdffd915 Merge pull request #8697 from oneandonlydean/feat/f32-denorm-preserve
feat(shader): request DenormPreserve 32 where the device preserves f32 denormals
2026-10-21 13:29:41 +13:00
JJenkxandClaude Opus 5.5 3316ca3b24 feat(libc): list the reporting thread's own calls in the call trace report
The crash and abort reports printed the last 64 traced calls of the whole
process, so a thread that loops on a traced import (a mutex lock/unlock
pair, a profiler marker) pushes the calls of the faulting thread out of the
report. The ring already keeps the last 65536 calls with their thread.

CopyThreadCallTrace_nid_no_patch returns the most recent calls of one
thread from that ring, oldest first, and both reports (Windows crash and
abort, Linux abort) list up to 32 of them for the reporting thread after
the process-wide list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:25:31 -04:00
Dean b56cfb3817 Merge pull request #8444 from SwetabhSingh17/feat/libc-mem-utilities
feat(libc): implement memmem and memccpy
2026-10-21 13:24:46 +13:00
juanpimg a7b8c355d0 fix(prx): drop the exports that #8747 declares
The branch declared 222 PS5 3.20 system exports across 11 libraries.
Open PR #8747 declares 83 of the same exports (libSceNpParty 25,
libSceNpTrophy2 23, libSceHttp2 18, libSceAppContent 17), so drop them
to avoid duplication. 139 exports remain across 7 libraries.
2026-10-21 02:24:33 +02:00
Dean e10b4d6190 Merge pull request #8203 from al3w0f205/fix/jpegdec-alpha-and-alignment-validation
fix(libSceJpegDec): reject misaligned output buffers and oversized alpha values
2026-10-21 13:14:05 +13:00
Dean aa2793fb48 Merge pull request #7826 from T3cm0/feat/hmd2-slots-writers
feat(libSceHmd2): answer 18 slot and output-writing exports before initialization as the console does
2026-10-21 13:13:22 +13:00
Dean 70c497739e Merge pull request #8636 from cadenasynyster/fix/libc-thrd-detach
feat(libc): implement _Thrd_detach
2026-10-21 13:11:55 +13:00
Dean f41c5bef2b Merge pull request #8637 from billythemenace2/fix/kernel-raise-system-call-wait
fix(libkernel): keep waiting while a raise target is inside a system call
2026-10-21 13:11:08 +13:00
Ondra97 401dee24b6 docs(net): keep transfer polling debt concise 2026-10-21 02:01:58 +02:00
Ondra97 c415375041 fix(net): finish blocking stream sends after short writes 2026-10-21 01:53:43 +02:00
JJenkxandClaude Opus 5.5 93ca58bdaa docs(testing): restore files of dumps repacked for ampr_emu before converting
Some distributed dumps were repacked with ampr_emu's pack tool: the packed
files are removed from app0 and stored in ampr_assets-*.pak (AMPRPAK4, raw
LZ4 blocks) that only ampr_emu reads. A Unity title converted from such a
dump stops at start-up because Media/Resources/unity default resources is
missing. Describe how to restore the files with ampr_pack.py unpack.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 19:52:06 -04:00
hypermist 8baefcf14c Merge remote-tracking branch 'upstream/main' into feat/libc-annex-k-remaining 2026-10-21 12:43:56 +13:00
orezraeyandClaude Opus 5.5 bf89bd31e6 fix(libSceAudiodec): reject the PCM word sizes a PS5 rejects
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:38:01 -03:00
orezraeyandClaude Opus 5.5 0fffc7bcae fix(libSceRtc): format the current time for a null tick as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:34:05 -03:00
Dean 926ed2eda1 Merge pull request #7480 from Scramblrrrr/codex/videoout-force-sdr-main
feat(videoout): allow forcing SDR output
2026-10-21 12:28:40 +13:00
orezraeyandClaude Opus 5.5 e2c37be594 fix(libSceHttp): unescape and sweep URIs as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:25:59 -03:00
hypermistandClaude Opus 5.5 6f77c09bd7 docs(libc): record the single-byte locale gap of the Annex K conversions
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 12:23:51 +13:00
Dean 273b1b87f4 Merge pull request #8388 from SwetabhSingh17/feat/libc-paf-mspace-posix-memalign
feat(libc): implement sceLibcPafMspacePosixMemalign
2026-10-21 12:20:57 +13:00
orezraeyandClaude Opus 5.5 a8c5db1be9 fix(libSceHttp): bound and return sceHttpParseResponseHeader's value as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:19:58 -03:00
Ondra97 6ac1e70057 fix(libSceNet): link epoll lifetime tests with net control 2026-10-21 01:19:49 +02:00
mpratsakiandClaude Opus 5.5 763702c5ce fix(relinker): use the Windows file identity in module and executable checks
Guest module discovery skipped the input executable and the
--executable check rejected an executable converted twice through
std::filesystem::equivalent, which MinGW reports as false for hard links
whose names give different permissions, such as .bin and .exe. Move the
GetFileInformationByHandle comparison to Io::SameFile and use it for
these checks and for SameOutputFile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 02:19:01 +03:00
hypermistandClaude Opus 5.5 07ed40b7ce docs(agc): drop the stale zero-slot clause from the FS table entry
Slots 1-5 are now written by sceAgcSetStaticBuffer and the
sceAgcSetStaticQword family, so staying zero until a title writes them
is the modelled console behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 12:12:08 +13:00
p3nicillin 5a79dda21d feat(libkernel): implement pthread_getprio 2026-10-21 00:08:30 +01:00
Queuze 3916eeaf6f fix(libc): share delete on standard stream reopen 2026-10-20 20:07:16 -03:00
valenciana-nc 23c43725f6 fix(libkernel): copy guest iovec tables before vector transfers 2026-10-20 17:04:30 -06:00
Dean 7e95bde794 Merge pull request #7427 from parl0v/perf/clear-keys-hand-over
perf(agc): hand pending results over to an image whose DCC keys are a clear code
2026-10-21 11:53:16 +13:00
Dean 61d0fa5b3c Merge pull request #8304 from Aryansh1520/feat/libkernel-umtx-ops-sync
feat(libkernel): implement _umtx_op UMTX_OP_SEM_WAIT and UMTX_OP_SEM_WAKE
2026-10-21 11:50:34 +13:00
Dean 7e6830ec55 Merge pull request #8268 from Athen2045/feat/net-dns-info
feat(libSceNet): implement sceNetGetDnsInfo
2026-10-21 11:50:31 +13:00
Dean c8301bbca5 Merge pull request #8137 from hamb3r/feat/libc-backtrace-windows
feat(libc): implement sceLibcBacktraceSelf and GetBufferSize on Windows
2026-10-21 11:45:25 +13:00
Dean 8c9a1f70f0 Merge pull request #8328 from ymatrix1/feat/nptus-missing-exports
feat(libSceNpTus): export missing firmware NP TUS interfaces
2026-10-21 11:45:19 +13:00
orezraeyandClaude Opus 5.5 3489bf4eb7 fix(libSceRtc): parse the DNT, NFT, NOR and SET zone names as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 19:45:17 -03:00
p3nicillin dde6b34d37 feat(libc): implement unlocked stream status queries 2026-10-20 23:41:22 +01:00
orezraeyandClaude Opus 5.5 4b8f05e3e1 fix(libSceSystemService): answer sceSystemServiceParamGetString's errors and padding as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 19:41:19 -03:00
Hermes Agent 0273c1479f feat(libkernel): expose kern.osreldate sysctl 2026-10-20 18:29:40 -04:00
Yuri Olive 9d824e2261 Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into feat/nptus-missing-exports
# Conflicts:
#	docs/dev/debt/libSceNpTus.md
2026-10-20 19:25:05 -03:00
Dean e25333e39a Merge pull request #8600 from ebarr24/ws/libc-fopen-streams
fix(libc): share delete access when freopen reopens a stream onto a file on Windows
2026-10-21 11:24:47 +13:00
Dean 548d50ca5b Merge pull request #8242 from santhoshkumar-dev/codex/np-tus-title-context-cleanup
feat(libSceNpTus): delete title contexts and their requests
2026-10-21 11:23:34 +13:00
Slick Daddy 51c6b38978 fix(libSceVideodec): take the coded picture size the decoder reports
Videodec2 opens FFmpeg with apply_cropping = 0, so the frame it reports is
the coded picture and its crop fields describe the cropping rectangle. The
coded size was derived from the frame size and the crop, which counted the
crop a second time when it added up to a multiple of 16: a picture cropped
four units at the top and four at the bottom was reported 16 rows taller
than the coded picture, and every picture was then refused for a frame
buffer that was sized for the coded picture. The frame size is the coded
size, so the crop only fills the crop offsets.

The fixture's sequence parameter set is also decoded with a crop of four
units at the top and four at the bottom now, which covers the case in the
guest test.
2026-10-21 01:13:00 +03:00
Dean 339217ebc9 Merge pull request #8331 from ymatrix1/feat/audio-missing-exports
feat(audio): export missing firmware AudioIn, Audio3d and Voice interfaces
2026-10-21 11:01:53 +13:00
Dean Galvin 3117837b35 docs(dev): list APS5_NO_HW_F32_PRESERVE in ENVIRONMENT.md 2026-10-21 10:45:24 +13:00