Commit Graph
6874 Commits
Author SHA1 Message Date
Swag a015208694 Merge upstream/main into feat/libressl-error-queue
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	docs/dev/debt/libSceLibreSsl.md
2026-10-23 08:51:42 -04:00
winstrexandClaude Opus 5.5 008e3276b7 docs(agc): describe where QueuePresent runs and record the single-queue fallback
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 09:50:40 -03:00
HQasperandClaude Opus 5.5 eb9491b194 feat(libSceLibreSsl): implement RAND and the CRYPTO allocator functions
RAND_add, RAND_bytes, RAND_status, RAND_load_file, RAND_file_name,
CRYPTO_malloc, CRYPTO_free and CRYPTO_set_mem_functions threw. They now
behave as in LibreSSL 2.6.5 through 3.4.3, where these functions did not
change: RAND_bytes fills the buffer from host entropy and returns 1,
RAND_add ignores its input, RAND_status returns 1, RAND_load_file returns
123456 for -1 and the requested count otherwise, RAND_file_name copies
"/dev/urandom" with strlcpy semantics, CRYPTO_malloc and CRYPTO_free use
the guest heap, and CRYPTO_set_mem_functions refuses with 0.

CRYPTO_malloc of zero or a negative size throws because later LibreSSL
versions take a size_t and call malloc instead of returning null.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-23 12:49:06 +00:00
Dean 0825fee797 Merge pull request #10052 from maximilianfv/fix/libscenet-macos-udp-shutdown
fix(libSceNet): wake a receive on an unbound datagram socket at shutdown on macOS
2026-10-24 01:45:04 +13:00
Dean 7497288ff2 Merge pull request #8993 from simonbronk/feat/libSceCesCs-mbc-sjis-code
feat(libSceCesCs): implement generic MBCS character, Shift-JIS code and JIS X 0213 helpers
2026-10-24 01:44:40 +13:00
Dean fa3dc7f347 Merge pull request #10057 from ntamas94/fix/ps4-jpegenc-encode-size
fix(libSceJpegEnc): return the JPEG size from sceJpegEncEncode
2026-10-24 01:44:19 +13:00
Dean 1fc30716fa Merge pull request #10024 from ags-arnab/feat/ngs2-matrix-module-info
feat(libSceNgs2): implement sceNgs2VoiceGetMatrixInfo and sceNgs2CustomRackGetModuleInfo
2026-10-24 01:43:41 +13:00
Dean 7e9af675eb Merge pull request #10065 from atharvjairath/feat/libressl-x509-error-strings
feat(libressl): implement certificate verification error strings
2026-10-24 01:34:18 +13:00
Dean 7c9d3a005e Merge pull request #8990 from voidlakhan/fix/savedata-null-argument-parameter-error
fix(savedata): validate backup and event result arguments
2026-10-24 01:29:00 +13:00
Maz 6224ab70b9 feat(libc): export the wide codecvt facet vtable as data
Console title libc.prx (PPSA26344) and libSceLibcInternal export H-TDszhsYuY as STT_OBJECT st_size 104; titles that resolve it as data need thirteen zeroed uintptr_t slots.
2026-10-23 16:26:44 +04:00
Dean e84c529d6d Merge pull request #9695 from xdCloudy/feat/ps5-ipmi-pending-89-round1
feat(libSceIpmi): declare 49 PS5 pending exports
2026-10-24 01:24:33 +13:00
Adrià f2a4fb1e6d Merge pull request #8336 from saarthakpant/perf/agc-discrete-written-shadow
perf(agc): stage written buffer elements up to 8 MiB on discrete GPUs
2026-10-23 14:19:33 +02:00
Dean Galvin 135b9d2552 Merge main into feat/np-cusa03312-imports 2026-10-24 01:18:07 +13:00
Dean ba1b117cec Merge pull request #10022 from pipe1os/feat/common-dialog-facebook-gamecustomdata
feat: run the common-dialog state machine in the Facebook and game custom data dialogs
2026-10-24 01:15:31 +13:00
hypermistandClaude Opus 5.5 e820df8c9d feat(libSceSpSysCallWrapper): forward sceSpGetPid and sceSpSelect
Both are exported by firmware 13.60 libSceSpSysCallWrapper.sprx as a single
jmp to the getpid and select stubs. Forward them and trim the debt entry to
sceSpPthreadMutexattrSetprioceiling.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 01:15:24 +13:00
Dean 3f5662c325 Merge pull request #9887 from MarrasFederico/feat/np-utility-offline
feat(libSceNpUtility): model the lookup and word filter requests offline
2026-10-24 01:15:07 +13:00
Dean c577d48675 Merge pull request #9886 from MarrasFederico/feat/np-signaling-offline
feat(libSceNpSignaling): model contexts and connections offline
2026-10-24 01:14:45 +13:00
Dean 8abd9bfb18 Merge pull request #9878 from ntamas94/fix/pad-special-port-handle
fix(libScePad): open the special port with a handle that reads as disconnected
2026-10-24 01:14:23 +13:00
Dean 4862c68ed6 Merge pull request #8558 from Filip722/feat/freetype-kerning
feat(libSceFreeType): implement FT_Get_Kerning
2026-10-24 01:13:21 +13:00
orezraey 567b164839 Merge branch 'fix/libscecescs-mbcs-strings-measured-ps5' into fix/libscecescs-jis-encode-measured-ps5 2026-10-23 09:09:26 -03:00
hypermistandClaude Opus 5.5 6ae116d767 docs(libSceSpSysCallWrapper): say firmware 13.60 exports sceSpGetPid and sceSpSelect
The earlier entry said the firmware does not export them. It does: each
is a single jump to libScePosix's getpid and select.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 01:08:47 +13:00
orezraey ab5ab9a3c5 Merge branch 'fix/libscecescs-scalar-measured-ps5' into fix/libscecescs-mbcs-strings-measured-ps5
# Conflicts:
#	core/libs/prx/libSceCesCs/Export.cpp
2026-10-23 09:08:30 -03:00
hypermistandClaude Opus 5.5 1e0f85fb0d docs(libSceLibcInternal): cite firmware 13.60, not 12.00, for the decrypted modules
The firmware version comes from the SDK 0x13600007 recorded in each module's module-param segment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 01:07:25 +13:00
hypermistandClaude Opus 5.5 bcaaf39241 docs(libSceNpCommon): cite firmware 13.60, not 12.00, for the decrypted modules
The firmware version comes from the SDK 0x13600007 recorded in each module's module-param segment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 01:06:42 +13:00
hypermistandClaude Opus 5.5 916312403c docs(libScePsml): cite firmware 13.60, not 12.00, for the decrypted modules
The firmware version comes from the SDK 0x13600007 recorded in each module's module-param segment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 01:06:01 +13:00
hypermistandClaude Opus 5.5 1153d177b6 docs(libSceSpSysCallWrapper): cite firmware 13.60, not 12.00, for the decrypted modules
The firmware version comes from the SDK 0x13600007 recorded in each module's module-param segment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 01:05:38 +13:00
hypermistandClaude Opus 5.5 e48a2f3103 docs(libSceFont): cite firmware 13.60, not 12.00, for the decrypted modules
The firmware version comes from the SDK 0x13600007 recorded in each module's module-param segment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 01:05:19 +13:00
orezraey b41fdbce97 Merge remote-tracking branch 'origin/main' into fix/libscecescs-scalar-measured-ps5
# Conflicts:
#	docs/dev/debt/libSceCesCs.md
2026-10-23 09:05:18 -03:00
Swag 235612ab83 Merge upstream/main into feat/libressl-error-queue
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	core/libs/prx/libSceLibreSsl/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl.md
2026-10-23 08:03:05 -04:00
xXPBSXxandClaude Sonnet 5.5 fba61c0da0 docs(debt): shorten the pathconf entry under the length limit
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 14:01:12 +02:00
JAB-devandClaude Sonnet 5.5 2375223a92 fix(libSceNgs2): an all-zero sampler setup leaves an earlier setup untouched, as the PS5 module does
The PS5 libSceNgs2.native module (firmware 3.20 and 4.03) accepts a setup with an all-zero format on a configured voice and keeps its format, so a play afterwards succeeds. The guard for a play on a voice with no channels would otherwise fail it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 14:00:47 +02:00
JAB-devandClaude Sonnet 5.5 45b061fa6c Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into fix/ngs2-play-without-setup
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:59:13 +02:00
orezraey ed75f2fee1 Merge branch 'docs/libc-math-measured-ps5' into fix/libc-strftime-measured-ps5
# Conflicts:
#	docs/dev/debt/libc.md
2026-10-23 08:58:39 -03:00
hypermistandClaude Opus 5.5 702d85e0bc fix(libSceNpCommon): check for a queued callout before writing it
sceNpCalloutStartOnCtx64 cleared and filled the entry before looking for
it in the queue, so restarting a queued callout cut off every callout
queued after it and changed its deadline while the callout thread could
read it. The entry is now written only after the duplicate check under
the context mutex. sceNpArchInit and sceNpArchTerm now hold a lock, so a
second caller no longer returns before the global heap exists. Both
differences from the firmware are recorded in the debt document.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 00:57:29 +13:00
Dean 8eb8e39207 Merge pull request #10077 from frankea/fix/system-service-registry-parameters
fix(libSceSystemService): answer the registry-backed integer parameters with values measured on a PS5
2026-10-24 00:55:28 +13:00
Dean 19d0005a47 Merge pull request #9027 from hypermoist/fix/audioout2-mastering-state
fix(libSceAudioOut): track mastering initialization as the console does
2026-10-24 00:54:34 +13:00
Yunus Shaikh 92de1c6a76 feat(libSceNetCtl): report no error from sceNetCtlGetResult for IPv4 events
sceNetCtlGetResult threw for every event after its initialization and
address checks, and Worms Armageddon: Anniversary Edition (PPSA20052)
and Monster Hunter Wilds (PPSA24191) stop on it at boot; MHW's first
call asks about event 1, a disconnection.

It now answers as sceNetCtlGetResultV6 does: for event types 1 to 3,
disconnected to IP obtained (the numbers sceNetCtlCheckCallback
delivers), it writes 0 to the result and returns 0. Other event types
throw, naming the type. The initialization and null checks come first,
as before. The error code a console reports per event is unconfirmed,
which the library's debt page now records.

The guest NetCtl test covers each supported event, three unsupported
ones with the new message and the result left untouched, and a null
result answered before the event is looked at.
2026-10-23 04:53:12 -07:00
Dean 06fd07ab4a Merge pull request #8700 from nikowolf123/feat/libkernel-underscore-socket-signal-entries
feat(libkernel): export the underscore entry points of the socket, directory and signal calls
2026-10-24 00:53:04 +13:00
Daniele Giovane cd3e37795d Merge main and preserve kernel thread tests 2026-10-23 13:52:37 +02:00
orezraeyandClaude Opus 5.5 c22a810b6b revert(libc): move fetestexcept and the memmem note to their own pull requests
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:48:45 -03:00
Dean 74f6fa8e31 Merge pull request #10076 from JJenkx/windows/raise-host-backoff
fix(libkernel): give a raise target time to run between host-code samples
2026-10-24 00:45:09 +13:00
xXPBSXxandClaude Sonnet 5.5 01655d7219 fix(libkernel_sys): answer fpathconf for pipes and _PC_ASYNC_IO as FreeBSD does
kern_fpathconf answers _PC_ASYNC_IO with _POSIX_ASYNCHRONOUS_IO (200112) after the descriptor lookup, and a pipe or socket (no vnode) with PIPE_BUF for _PC_PIPE_BUF and EINVAL for every other name. Drop the unused File.hpp include and the duplicate KernelErrors.hpp include.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:44:46 +02:00
QuentinRemondandClaude Sonnet 5.5 07d3d6447a feat(libkernel_sys): implement fpathconf and _fpathconf
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:44:43 +02:00
Dean d187f09c93 Merge pull request #10098 from voidlakhan/fix/shareplay-prohibit-controller-invalid-args
fix(libSceSharePlay): return invalid args error for invalid prohibition in sceSharePlayProhibitController
2026-10-24 00:42:00 +13:00
Dean a60033fe8e Merge pull request #8320 from hypermoist/fix/np-session-signaling-lookups
fix(libSceNpSessionSignaling): return the firmware lookup results
2026-10-24 00:41:15 +13:00
eliasbruno124-dev b996e31d8c perf(agc): reclaim idle device buffers under storage cache pressure 2026-10-23 13:38:46 +02:00
eliasbruno124-dev 894d9f81d4 docs(agc): describe deferred settle submission ordering 2026-10-23 13:38:46 +02:00
jacob6769 0f54186f5a Merge remote-tracking branch 'origin/main' into feat/ces-korean-big5-scalars
# Conflicts:
#	core/libs/prx/libSceCesCs/Export.cpp
#	core/libs/prx/libSceCesCs/PendingExports.cpp
#	docs/dev/debt/libSceCesCs.md
2026-10-23 20:34:04 +09:00
Dean 58ceeb8ed5 Merge pull request #9040 from YossiYad/feat/kernel-sys-workaround-process-type
feat(libkernel_sys): implement sceKernelTitleWorkaroundIsEnabled and sceKernelGetProcessType
2026-10-24 00:33:16 +13:00
Dean d1b6cdbabd Merge pull request #8976 from simonbronk/feat/libSceCesCs-gbk-euc-cn
feat(libSceCesCs): convert GBK and EUC-CN through the CP936 table
2026-10-24 00:29:10 +13:00