Commit Graph
20818 Commits
Author SHA1 Message Date
Dean f1a7b02028 Merge pull request #7243 from gjonn/fix/agc-packed-target-replace-blend
fix(agc): write a replace blend into a packed color target without blending
2026-11-02 02:06:56 +13:00
Dean 929e8d8442 Merge pull request #7090 from milescoviello/feat/scm-rights
feat(libkernel): pass descriptors in SCM_RIGHTS messages on Unix sockets
2026-11-02 02:06:02 +13:00
Adrià 31c727f622 Merge pull request #13938 from JAB-dev/fix/ngs2-ps4-port-volume-range-ps5
fix(libSceNgs2): clamp the PS4 port volume to [-4, 4]
2026-11-01 14:03:08 +01:00
Adrià 77008b2ecc Merge pull request #13934 from alfalfa-star/fix/audiodec-stereo-interleave-order
fix(libSceAudiodec): accept M4AAC surround interleave orders for stereo output
2026-11-01 13:53:47 +01:00
Adrià 67bfc04ab1 Merge pull request #13936 from edubox/feat/nkwebkit-constant-exports
feat(libSceNKWebKit): implement the exports the 11.00 module answers with a constant
2026-11-01 13:41:59 +01:00
Dean 4768f0aeca Merge pull request #6584 from ymatrix1/feat/userservice-missing-exports
feat(libSceUserService): export missing firmware user service interfaces
2026-11-02 01:29:49 +13:00
Dean b2620e56d1 Merge pull request #11733 from verusferro/feat/libc-wide-string-to-number
feat(libc): convert wide strings with _WStoull, _WStoll, _WStod, _WStof and _WStold as the console's libc does
2026-11-02 00:33:30 +13:00
Adrià e53aff3f56 Merge pull request #13921 from dr-hoseyn/feat/relinker-option-terminator
feat(relinker): support the end-of-options separator
2026-11-01 12:30:22 +01:00
Dean d262000c73 Merge pull request #12940 from kyon-eth/feat/video-recording-native-320-exports
feat(libSceVideoRecording.native): declare 27 callable exports
2026-11-02 00:26:52 +13:00
Adrià 75df21b76e Merge pull request #13678 from Gonic0/feat/agc-label-trap-aliased
perf(agc): trap label reads of small images inside pending large ones on macOS
2026-11-01 12:26:41 +01:00
Dean c51c471250 Merge pull request #12922 from ntamas94/fix/ps4-dir-blksize
fix(libkernel): report a 64 KiB st_blksize for directories
2026-11-02 00:25:59 +13:00
Dean ffb95fdf8a Merge pull request #12894 from xXPBSXx/fix/asan-skip-asan-lib
fix(build): do not build libSceAddressSanitizer in an ASan or TSan build
2026-11-02 00:24:15 +13:00
Dean 4d58a666e9 Merge pull request #12892 from StoneDC/b41/wide-length-protected
test(libc): bound UTF-16 length scans with protected pages
2026-11-02 00:23:34 +13:00
Dean e1f46d1746 Merge pull request #12847 from edubox/feat/npcpp-activities
feat(libSceNpCppWebApi): bring up Activities V1 offline
2026-11-02 00:22:55 +13:00
Dean 4317481a47 Merge pull request #12825 from hypermoist/feat/np-util-jid
feat(libSceNpCommon): implement sceNpUtilParseJid and sceNpUtilJidToNpId
2026-11-02 00:22:13 +13:00
Dean 785ad26398 Merge pull request #12810 from BunnyFl/fix/convertkeycode-sdk-layouts
fix(libSceConvertKeycode): apply the SDK rules instead of throwing for layouts 31-39 and Y/Z
2026-11-02 00:19:47 +13:00
Dean 4ca5d702a8 Merge pull request #12799 from LeandroLP23/test/agc-copy-data-packets
test(libSceAgc): cover COPY_DATA on the draw and compute queues and the WRITE_DATA size
2026-11-02 00:18:54 +13:00
Adrià e67cc81869 Merge pull request #13926 from dr-hoseyn/feat/relinker-dry-run
feat(relinker): validate conversions without writing outputs
2026-11-01 11:50:43 +01:00
Eduardo Ruiz d72f349abb fix(libSceNKWebKit): narrow the constant-return claim to the measured width
The 13 exports whose body is mov al,1; ret write only the low byte, so the
upper bits of EAX are unspecified; the test now masks them and the debt
entry separates those 13 from the 124 bodies that write EAX. The inventory
count returns to 7440, the 134 rows removed from the 7574 that were listed,
because three of the 137 belong to the separate known-name group.
2026-11-01 11:49:36 +01:00
Eduardo Ruiz 03f9296adb feat(libSceNKWebKit): implement the exports the 11.00 module answers with a constant
137 exports that were throwing stubs return a fixed value in the PS5 11.00
module: 111 end in xor eax,eax and return 0, 13 load an immediate with
mov eax,imm32 and return it, and 13 return true through mov al,1. Their
bodies in src/ConstantExports.cpp reproduce those values.

The functions were matched to the firmware export table by recomputing each
NID from the declared symbol, and the body and size of every selected
address were checked against the image. The declared prototypes stay the
no-parameter int placeholders, so only the 32-bit return value is covered.
The technical-debt inventory drops the rows that no longer throw and records
the measurement and that limit.
2026-11-01 11:49:36 +01:00
Adrià 541b8515df Merge pull request #13879 from sktharunbalaji13-cmd/feat/dcc-clear-write-order
fix(agc): order DCC clear fills against GPU writes in resident presentation
2026-11-01 11:49:32 +01:00
Dean e6f57307fa Merge pull request #10844 from Raghav314/perf/agc-dcc-word-fill-keys
perf(agc): read DCC keys from a pending word fill instead of waiting for the GPU
2026-11-01 23:40:11 +13:00
Dean d2593327b5 Merge pull request #11447 from iamthehimansh/split/macos-agc-build
build(agc): compile Lifecycle, GuestMemory and GuestBufferMemory on macOS
2026-11-01 23:39:32 +13:00
Dean e56c5c99f3 Merge pull request #12474 from milescoviello/fix/fcntl-host-descriptor
fix(libkernel): report a host-only descriptor as not open to fcntl and ioctl
2026-11-01 23:38:28 +13:00
Dean 8527dad32e Merge pull request #12332 from legendary-cookie/test/http2
test(libSceHttp2): cover sceHttp2SetRequestContentLength ids and deletion
2026-11-01 23:37:34 +13:00
Dean d5ec8e6575 Merge pull request #11854 from ionut27001/fix/wf-videoout-outputstatus-hdr-flags-zero
fix(videoout): report output status flags 0 with HDR output
2026-11-01 23:35:45 +13:00
Dean ba8dcc6ae8 Merge pull request #13204 from Celegans12/feat/rnpsbundle-inventory-exports-20261030
feat(rnpsbundle): add named inventory exports
2026-11-01 23:24:49 +13:00
Adrià a644edf30c Merge pull request #13499 from Gonic0/feat/agc-label-read-trap
perf(agc): trap CPU reads of label readbacks on macOS instead of storing them
2026-11-01 11:09:34 +01:00
Tharun Balaji 90f0b5fd3b fix(agc): reset written-since-fill markers on CPU clear-key changes 2026-11-01 14:29:18 +05:30
Adrià 26fa1212b8 Merge pull request #13819 from Ninot1Quyi/fix/libc-nearbyint-inexact
fix(libc): match nearbyint inexact flags to guest libc
2026-11-01 09:56:57 +01:00
Adrià b2bcf569f7 Merge pull request #13904 from DeveshB-1/fix/memory-protection-query-efault
fix(libkernel): return EFAULT from memory protection and stack queries for invalid memory
2026-11-01 09:56:49 +01:00
Adrià 41b72cc337 Merge pull request #13868 from PrivacyOnion/feat/glslimvsh
feat(libSceGLSlimVSH): implement EGL 1.4 and GLES 2.0 state, objects and pbuffer storage
2026-11-01 09:56:42 +01:00
Adrià 6c0bdd2014 Merge pull request #13908 from DeveshB-1/fix/cpuset-affinity-efault
fix(libkernel): return EFAULT from cpuset and pthread affinity for invalid memory
2026-11-01 09:55:39 +01:00
Adrià 1f2c1da1fb Merge pull request #13916 from roboterspinne/fix/relinker-relr-code-roots
fix(relinker): follow DT_RELR pointers as code roots in code analysis
2026-11-01 09:40:48 +01:00
Adrià 6a1d537332 Merge pull request #13915 from roboterspinne/fix/relinker-guest-tls-relocations-empty-pt-tls
fix(relinker): require a non-empty PT_TLS for guest module TLS relocations
2026-11-01 09:40:41 +01:00
Adrià ad9c554112 Merge pull request #13914 from roboterspinne/fix/relinker-reject-duplicate-eh-frame-header
fix(relinker): reject a second PT_GNU_EH_FRAME segment
2026-11-01 09:40:25 +01:00
Adrià 5c9837bfe7 Merge pull request #13442 from Gonic0/feat/libc-write-watch-read-trap
feat(libc): trap guest reads of write-watched pages on macOS
2026-11-01 09:13:34 +01:00
Adrià 90cc8d57a5 Merge pull request #13895 from Gruzzberry/fix/chflags-sysflags-eperm
fix(libkernel): fail chflags and fchflags with EPERM when a system flag changes
2026-11-01 09:10:40 +01:00
Adrià 34c27fb890 Merge pull request #13894 from hugodearaujo/fix/agc-mesh-group-limit
fix(agc): continue a direct mesh draw past the X group limit in Z
2026-11-01 09:10:31 +01:00
Adrià c2ba690bfc Merge pull request #13896 from Gruzzberry/fix/rtprio-jail
fix(libkernel): fail rtprio_thread, sched_setscheduler and setpriority with the jail privilege errors
2026-11-01 09:05:34 +01:00
Adrià 826fa5a594 Merge pull request #13822 from Scooooodoo/fix/posix-resolver-unspecified-socket-types
fix(libScePosixForWebKit): omit implicit raw resolver records
2026-11-01 09:05:23 +01:00
Adrià d9fd841be0 Merge pull request #13898 from zaryabzip/fix/cescs-cp1254-1258-holes
fix(libSceCesCs): refuse the Cp1254 and Cp1258 holes and UTF-32 surrogates as a PS5 does
2026-11-01 08:46:38 +01:00
Adrià eb5b2c13df Merge pull request #13876 from DeveshB-1/fix/convert-time-efault
fix(libkernel): return EFAULT from time conversions for unwritable stores
2026-11-01 08:35:50 +01:00
Adrià 53fbe59956 Merge pull request #13732 from SnekPolylepis/feat/libc-radix64-conversions
feat(libc): implement a64l, l64a, and l64a_r radix-64 integer conversions
2026-11-01 08:30:07 +01:00
Adrià a043b048db Merge pull request #13897 from gazaret/feat/libressl3-pkey-get0
feat(libSceLibreSsl3): implement EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA and EVP_PKEY_get0_DH
2026-11-01 08:24:25 +01:00
DeveshB-1 51bd568169 fix(libkernel): return EFAULT from cpuset and pthread affinity for invalid memory 2026-11-01 08:18:41 +01:00
PrivacyOnion 19af8ed632 feat(libSceGLSlimVSH): implement EGL 1.4 and GLES 2.0 state, objects and pbuffer storage
Implement the EGL 1.4 and OpenGL ES 2.0 exports that do not need a shader compiler or rasterizer as a host-side state machine following the Khronos specifications: the default display, a single RGBA8/depth16/stencil8 pbuffer configuration, ES2 contexts with share groups, per-thread current state and errors, buffers, textures with mipmap generation, renderbuffers, framebuffers and their completeness, shader and program objects, vertex attributes, every fixed-function state setter and query, clears, pixel uploads, copies and reads on CPU storage.

The 22 unknown NIDs are named from the NID database and the Piglet, Orbis texture and compositor exports, together with shader compilation, program linking and reflection, uniforms, draws, native window surfaces and the Sony-specific APIs, stay NotImplemented_nid_no_patch; the gaps are in docs/dev/debt/libSceGLSlimVSH.md.
2026-11-01 08:10:59 +01:00
AdriàandClaude Sonnet 5.5 3c5da23f30 fix(libkernel): document partial writes of memory protection queries
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-01 08:10:04 +01:00
DeveshB-1 2f29bda465 fix(libkernel): return EFAULT from memory protection and stack queries for invalid memory 2026-11-01 08:09:57 +01:00
ntamas94andClaude Opus 5.5 144d17f220 test(libkernel): compare a regular file's st_blksize to the host value
CopyNativeStat keeps the host block size for regular files on POSIX, so a
64 KiB host (ZFS, some network mounts) makes the st_blksize != 0x10000
assertion fail with correct production code. Compare against the host's
actual st_blksize (POSIX) or the 512 Windows convention, which still
catches an unconditional directory-size assignment spilling onto files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 08:02:30 +01:00