Commit Graph
7981 Commits
Author SHA1 Message Date
Adrià 57f506f811 Merge pull request #9714 from hypermoist/fix/psml-base-console
fix(libScePsml): answer the MFSR2 calls as a console without PSSR does
2026-10-25 09:55:39 +01:00
Dean 10a41a0d50 Merge pull request #10612 from imellag/test/agc-skip-cull-distance-without-support
test(agc): skip cull distance cases on devices without shaderCullDistance
2026-10-25 21:52:25 +13:00
Dean d6da8da587 Merge pull request #10765 from 00xDisaster/feat/libc-ldinkumware
feat(libc): implement long-double Dinkumware helpers
2026-10-25 21:50:29 +13:00
Himansh Raj 97d91fa983 Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 14:10:23 +05:30
pushkarreddyy d2a54a6a43 docs(libkernel): record sysKernel update version and mode queries 2026-10-25 14:03:12 +05:30
milescovielloandClaude Opus 5.5 a06c589ea6 docs(agc): shorten the tessellation-geometry debt entry
The entry was over the 1000-character limit the conventions check
warns about. Same content, tighter wording.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 08:32:48 +00:00
milescovielloandClaude Opus 5.5 cd5fc9e838 feat(agc): draw tessellation followed by an NGG geometry stage
Crimson Desert (PPSA25286) draws with VGT_SHADER_STAGES_EN 0x60212d:
local, hull, domain and NGG geometry stages, the hull halves merged in one
registered type-3 program, the domain and geometry halves in one type-2
program. The domain half runs as the tessellation evaluation stage and
captures each vertex's ESGS item, and a mesh shader runs the geometry half
on the captured items.

Registered type-3 merged hulls come from #6679; this adds 16-bit LDS
reads and writes in tessellation stages, which Crimson Desert's merged
hull uses.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 08:32:37 +00:00
Adrià 6f58a046b1 Merge pull request #9599 from shahulmubeen-a/feat/agc-skip-shader-file
feat(agc): skip the draws and dispatches of the programs listed in a file, re-read while the title runs
2026-10-25 09:32:14 +01:00
Himansh Raj 7a903e0da8 Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 14:00:23 +05:30
Adrià 1240b5da19 Merge pull request #9597 from milescoviello/fix/mipmapped-dcc-target-keys
fix(agc): keep a mipmapped DCC color target's keys on its resident image
2026-10-25 09:29:51 +01:00
Himansh Raj e8fb1a166d Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 13:50:22 +05:30
Adrià 2816bd2754 Merge pull request #9600 from shahulmubeen-a/fix/agc-register-list-any-byte
fix(libSceAgc): accept register lists at any byte address
2026-10-25 09:16:21 +01:00
Adrià 15aa041ebb Merge pull request #9560 from Ondra97/codex/feat-freetype-outline-decompose
feat(libSceFreeType): decompose guest outlines
2026-10-25 09:15:18 +01:00
louise-patraandClaude Opus 5.5 1cb7e2e3e0 feat(libSceNpUtility): implement lookup async requests, waits and timeouts
Adds sceNpLookupAbortRequest, sceNpLookupCreateAsyncRequest,
sceNpLookupPollAsync, sceNpLookupWaitAsync, sceNpLookupSetTimeout,
sceNpWordFilterSetTimeout and sceNpWordFilterWaitAsync on the offline
request model. Waits block on a condition variable that request
completion, abort and deletion signal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 13:28:28 +05:30
Yunus Shaikh 18b4543ac2 docs(libkernel): note __Ux86_64_setcontext has no known prototype 2026-10-25 07:56:02 +00:00
Himansh Raj c90796571e Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 13:20:30 +05:30
Yunus Shaikh 748f2b3bdd feat(libSceHttp): report the ids sceHttpInit registered for a context
sceHttpGetRegisteredCtxIds writes the libnet memory pool id and the SSL
context id the context was created with, in the order of its recovered
prototype. With no live context it returns BEFORE_INIT and for an
unknown or terminated id INVALID_ID, as sceHttpGetMemoryPoolStats does;
a null output throws.
2026-10-25 07:47:43 +00:00
Yunus Shaikh 45d987a187 feat(libSceNpUtility): answer sceNpBandwidthTestInitStart and ShutdownWithDetailedInfo offline
InitStart returns SIGNED_OUT, as sceNpBandwidthTestInitStartDownload and
InitStartUpload do, so no test is ever started, and
ShutdownWithDetailedInfo returns INVALID_ARGUMENT and writes nothing, as
sceNpBandwidthTestShutdown does. Neither reads an argument.
2026-10-25 07:47:43 +00:00
Yunus Shaikh 2cbcc0e2e6 docs(libSceAgcDriver): list the Export.cpp declarations without a prototype 2026-10-25 07:44:54 +00:00
Yunus Shaikh 3e639b6f77 docs(libSceBemp2sys): drop the repeated pending-exports entry 2026-10-25 07:44:02 +00:00
Yunus Shaikh 6968c3ac02 docs(libSceAvPlayerStreaming): drop the repeated pending-exports entry 2026-10-25 07:44:02 +00:00
Yunus Shaikh 81cecf5eb4 docs(libSceHttp): describe the stored cookie-enabled option 2026-10-25 07:44:02 +00:00
hypermist 83043eede6 test(libSceVrTracker2): stop asserting that system modes throw
Remove the system-mode throw cases in GuestVrTracker2.cpp that tested
modes 1000 and 1001 throwing. Allocate a fresh temporary directory
atomically in EnterApplicationRoot without clobbering existing paths.
Update the debt entry without citing a source.

Assisted-by: Antigravity:gemini-3.8-flash-medium
2026-10-25 20:40:44 +13:00
Adrià 811ffe10af Merge pull request #9514 from EagleBearerYS/fix/agc-address-copy-evict-main
fix(agc): an address-based build evicts idle imports instead of copying past the cap
2026-10-25 08:40:37 +01:00
Yunus Shaikh b19382a492 feat(libSceNetCtl): answer the IpcInt calls as their public twins and add the ForLib callback table
The ten IpcInt getters and callback forms forward to sceNetCtlGetState,
GetStateV6, GetResult, GetResultV6, GetInfo, GetInfoV6 and the IPv4 and
IPv6 callback registration, whose recovered argument registers they
share. The three ForLib calls keep a fourth table of eight callbacks with
the register, unregister and dispatch the NpToolkit forms use. Both are
recorded as unmeasured in the debt file.
2026-10-25 07:39:35 +00:00
Yunus Shaikh 68820535b9 feat(libSceFont): render generated glyphs with sceFontGlyphRenderImage
Draw a glyph from sceFontGenerateCharGlyph through the sceFontRenderCharGlyphImage rasterizer at the glyph's own scale, with the renderer argument checked as sceFontBindRenderer checks it and the style frame argument, else the surface's frame, applied as surface frames are. The horizontal and vertical forms place the image like their character forms. The three functions build on RenderCodeWithStyle and ApplyStyleFrame from the previous commit and move out of Unimplemented.cpp.
2026-10-25 07:27:44 +00:00
ChronyyxandClaude Opus 5.5 07798774b6 fix(relinker): frame red-zone leaves whose only push is rbp
The check that refuses leaves without pushes that push or pop also refused
`push rbp; mov rbp, rsp` leaves without other pushes, whose `pop rbp` it
counted, since rbp is not in their list of pushes. A unit test and an
execution test now cover such a leaf with a 4-byte prologue and a 2-byte
exit. The debt entry also notes that the check refuses shrink-wrapped leaves
whose later pushes and pops balance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 03:23:34 -04:00
Himansh Raj 1c9d259abf Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 12:50:25 +05:30
Dean 49d9c1c751 Merge pull request #8080 from Nixitov/feat/webkit-pthread-setname
feat(libScePosixForWebKit): export pthread_setname_np
2026-10-25 20:11:29 +13:00
Dean 2f11a89ecb Merge pull request #10795 from slopgobblercobbler/feat/agc-nop-data-write-tests
feat(libSceAgcDriver): cover payload packing in sceAgcDriverNopDataWritePacket
2026-10-25 20:11:17 +13:00
Himansh Raj 04d62961da Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 12:40:25 +05:30
thuanquangandClaude 060e516d0e feat(libSceImeBackend): declare 22 sceImeBackend exports
libSceImeBackend only re-exported libSceIme, so a title that imports
the backend's own functions did not load. Declare the 22 that such a
title imports, without parameters: their signatures and behaviour are
not established, so each call throws through NotImplemented_nid_no_patch.

Co-Authored-By: Claude <[email protected]>
2026-10-25 14:09:10 +07:00
Dean 8b426927d7 Merge pull request #10723 from kyon-eth/feat/sulpha-default-config
feat(libSceSulphaDrv): implement default configuration
2026-10-25 20:01:39 +13:00
Himansh Raj a01a4354db Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-25 12:31:32 +05:30
hypermistandClaude Opus 5.5 0c799de538 test(libSceFont): stop pinning the unimplemented font-set outline profile path
The font-set record path still throws in production, but the test no
longer asserts it: tests cover implemented behaviour only. The null-output
check on a font-set handle stays. The outline profile debt entry states
the gap without naming a source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 19:57:38 +13:00
JJenkxandClaude Opus 5.5 185098a39d fix(libc): compute log1p with FreeBSD msun's algorithm, as titles' libc.prx does
log1p returned the host's log1p, whose last bit differs from the titles'
copy on Windows on 24,477,433 of 320 million random arguments. The titles'
copy is FreeBSD msun's s_log1p.c, and it sets EDOM at msun's NaN return,
for arguments below -1, -inf and negative NaNs, but not for log1p(-1).
log1p now computes that algorithm and sets EDOM there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 02:56:59 -04:00
Ondra97 5839f54a7c Merge remote-tracking branch 'origin/main' into codex/pr9420-review-20261025 2026-10-25 07:53:25 +01:00
hypermist 938458062e Merge branch 'feat/font-get-font-style-information' into feat/font-get-glyphs-outline-profile
# Conflicts:
#	docs/dev/debt/libSceFont.md
2026-10-25 19:50:28 +13:00
hypermistandClaude Opus 5.5 c46dfd259d docs(libSceFont): state the font style information gap without naming a source
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 19:50:06 +13:00
hypermist 19f50102fa Merge branch 'feat/font-get-font-metrics' into feat/font-get-font-style-information
# Conflicts:
#	docs/dev/debt/libSceFont.md
2026-10-25 19:50:06 +13:00
hypermistandClaude Opus 5.5 a2df041469 docs(libSceFont): state the font metrics gap without naming a source
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 19:49:25 +13:00
ChronyyxandClaude Opus 5.5 c697fb0ba9 feat(relinker): frame red-zone leaves whose prologue or exit is shorter than a jump
--frame-red-zone replaces a leaf's prologue and each exit with a 5-byte jump
to a stub, so it skipped leaves whose pushes or pop-and-ret exit were shorter
than that, and leaves with neither pushes nor an allocation. A short prologue
now takes in the straight-line instructions after it and a short exit those
before it, re-encoded in the stub with the moved displacement. Widening stops
at branches, rets, RIP-relative instructions, pushes and pops, and the leaf is
skipped when a branch targets the instructions taken in or the first
instruction of a widened prologue, or when a leaf without pushes pushes or
pops.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 02:47:12 -04:00
Dean af49a07885 Merge pull request #10691 from MarcZX10/marc/sweep-np-signaling
feat(libSceNpSignaling): implement sceNpSignalingDeactivateConnection
2026-10-25 19:30:19 +13:00
Dean 9a2020c220 Merge pull request #10425 from Retr0G28/fix/sendfile-nonregular-einval
fix(libkernel): fail sendfile with EINVAL for a file that is not a regular file
2026-10-25 19:29:21 +13:00
orezraeyandClaude Opus 5.5 9319aeec2d Merge main into docs/libkernel-select-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 03:25:47 -03:00
Bipin 981e36205c feat(core): implement the Opus encoder libraries
- libSceOpusCeltEnc and libSceOpusSilkEnc forward Initialize, Terminate,
  GetSize, Create, CreateEx, Encode, EncodeFloat and Destroy to bundled
  libopus with OPUS_APPLICATION_RESTRICTED_CELT and OPUS_APPLICATION_RESTRICTED_SILK
- state pointers are host registry keys; nothing is written into guest memory,
  Create without CreateEx binds an internal context id, and a live CreateEx
  encoder makes Terminate throw
- validation mirrors the recovered libSceOpusCeltDec order: channels before
  sample rate before application, offsets 0/1/2/3/6/7/8/9/13
- Ctl and the priority, timeout, batch and cancel exports still throw and are
  documented in libSceOpusCeltEnc.md and libSceOpusSilkEnc.md
- new guest_opus_celt_enc and guest_opus_silk_enc tests require bit-exact
  packets against a raw libopus encoder with the same restricted application,
  celt-mode or silk-only TOC values, an alternating sine decoded through
  opus_decode, and the negative error paths
2026-10-25 11:47:55 +05:30
Dean 61fc572cee Merge pull request #10434 from Retr0G28/fix/linkat-directory-descriptor
fix(libkernel_sys): resolve linkat paths relative to a directory descriptor
2026-10-25 19:16:10 +13:00
3d20b5e4c2 fix(libSceNet): count only datagram bytes in sceNetIoctl FIONREAD on macOS
On macOS, FIONREAD on a datagram socket counts more than the queued
payload, so after one 5-byte datagram sceNetIoctl reported 37.
libkernel's sockets already ask a macOS datagram socket for SO_NREAD,
the size of the next datagram, instead; do the same for sceNetSocket
sockets that are not streams.

Co-authored-by: Himansh Raj <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 03:15:43 -03:00
Dean 74986c28bd Merge pull request #10559 from xTRACKGOD/fix/trace-digest-interval-identity
fix(tools): detect host and title changes in interval digests
2026-10-25 19:15:31 +13:00
jacob6769 e56245a42c Merge remote-tracking branch 'origin/main' into fix/libressl-digest-version-paths
# Conflicts:
#	core/libs/prx/libSceLibreSsl3/src/Digest.cpp
#	core/libs/tests/GuestLibreSslDigest.cpp
#	docs/dev/debt/libSceLibreSsl.md
2026-10-25 15:13:36 +09:00