Commit Graph
7963 Commits
Author SHA1 Message Date
Queuse b957cf8b41 Merge remote-tracking branch 'origin/main' into codex/net-socket-state 2026-10-22 12:20:44 -03:00
Queuse b6ac65c2cb Merge remote-tracking branch 'origin/main' into codex/net-keepalive 2026-10-22 12:20:36 -03:00
Yunus Shaikh 32a95a35dd fix(hmd): answer handle 0 before sceHmdInitialize only below SDK 4.50
BunnyFl's firmware 13.42 check shows that the distortion, wide-near and
2D VR command queries give NOT_INITIALIZED for handle 0 before
sceHmdInitialize only when the title's compiled SDK version is below
4.50. From 4.50 the library first checks state it sets up when it
starts, which isn't measured, so handle 0 before initialization now
throws there, as it does after initialization and as all six queries
do on main. The SDK version is read from the process parameters, as
libSceHmd2 does.

guest_hmd checks handle 0 before initialization at SDK 0x044fffff and
0x04500000.

Source: https://github.com/boykopovar/AnyPS5/pull/9577#issuecomment-6343495321 (BunnyFl)
2026-10-22 08:19:34 -07:00
Shahul Mubeen AandClaude Opus 5.5 b5cccd5628 docs(libSceAgc): record that the console's register list alignment is unmeasured
sceAgcCbSetShRegistersDirect and sceAgcCbSetUcRegistersDirect now accept
a list at any byte address because PPSA26344 passes lists at 1 mod 4.
The debt entry names that title evidence and states that how the console
reads such a list is not measured, so the host behaviour is not taken for
a measured console contract.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 20:49:06 +05:30
bluandClaude Opus 5.5 e9e345fbf3 docs(libkernel_sys): record that link follows longer link chains on Windows
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 07:54:59 -07:00
Santhosh Kumar 1923058017 feat(libSceLibreSsl): select advertised application protocols 2026-10-22 20:19:58 +05:30
Ondra97 e359c22d45 chore: merge current main into ULT finalization fix 2026-10-22 16:29:04 +02:00
David a81f89fa6b Merge remote-tracking branch 'origin/main' into feat/agc-barycentric-rect-list
# Conflicts:
#	core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp
#	docs/dev/debt/shader.md
2026-10-22 18:26:03 +04:00
Kraken bf787dc895 chore(libkernel): merge current main for timed join integration 2026-10-22 15:25:35 +01:00
Dean b7d1d47a5f Merge pull request #8083 from DavidSamir/feat/agc-barycentric-tessellation-strips
feat(agc): draw triangle strips through the barycentric tessellation stages
2026-10-23 03:22:55 +13:00
Ondra97 fcc988ca3f chore: merge current main into ULT finalization fix 2026-10-22 16:19:30 +02:00
Kraken 1df8b3cd06 fix(freetype): isolate PFR fixture runtime linkage on current main 2026-10-22 15:18:40 +01:00
Retr0 f04af479e6 test(libkernel): require EINPROGRESS from a nonblocking connect in progress
FreeBSD 11's kern_connectat fails a nonblocking connect that is still
connecting with EINPROGRESS (36), a second one while it is still
connecting with EALREADY, and soconnectat fails one on a connected
stream socket with EISCONN. On Windows connect has reported
WSAEWOULDBLOCK as EINPROGRESS since 79e162110, but the poll test still
accepted EAGAIN (35) and the socket error numbers debt entry still
listed the gap. Require 36 in the poll test and cut the stale sentence.
2026-10-22 16:59:54 +03:00
StoneDC 35d36eabbc feat(libSceUlt): implement sceUltConditionVariableCreate and condition variable option initializers 2026-10-22 21:57:38 +08:00
hypermist 105c0102a6 Merge remote-tracking branch 'upstream/main' into feat/sp-syscall-wrapper-forwards 2026-10-23 02:55:02 +13:00
ntamas94andClaude Opus 5.5 2d1ecaf29e fix(libSceRtc): reject a negative source tick in sceRtcFormatRFC2822
Measured on a PS4 (firmware 10.71) for the review of the zone-shift
overflow: sceRtcFormatRFC2822 returns 0x80B50003 for UINT64_MAX with +1
and +1439 minutes and for 2^64 - 1 minute with +1, where the shifted tick
lands in year 1. The console returns 0x80B50008 when the shifted tick is
past 9999 as a signed value (2^63 with -1 minute) and otherwise 0x80B50003
when the source or the shifted tick is negative as a signed value
(2^63 with 0, 0 with -1); the tick after 9999 with -1 minute still formats.

sceRtcFormatRFC3339 does wrap on the console: UINT64_MAX with +1 minute
returns 0 and writes 0001-01-01T00:00:59.99+00:01, as the implementation
already does. Tests now cover both.

Written with AI assistance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 15:52:23 +02:00
Dom3005andClaude Opus 5.5 4892b71494 docs(debt): match the Windows directory descriptor entry to the code
d31e28308 made getdents and getdirentries throw on a name above the
one-byte d_namlen limit, and #8591 made getdirentries report the entry
index of its block through basep. The libkernel entry still described
ENAMETOOLONG and a basep of 0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 15:52:04 +02:00
ntamas94andClaude Opus 5.5 3cf419d4ea fix(libSceRtc): handle out-of-range time values as the PS4 does
Measured on a PS4 (firmware 10.71) with an OpenOrbis homebrew that loads a
probe PRX calling libSceRtc; every output starts as a sentinel, so stores
and their width are visible.

- sceRtcSetTime_t takes the low 32 bits of its argument as unsigned seconds
  and returns 0 for every value: -1 is 2106-02-07 06:28:15, 2^32 + 1 is
  1970-01-01 00:00:01 and -2^31 is 2038-01-19 03:14:08. sceRtcGetTime_t
  stays 64-bit (2106-02-07 06:28:16 is 2^32).
- sceRtcGetTime_t before 1970 and sceRtcGetWin32FileTime before 1601 store
  0 and return 0x80B50008. Field validation still comes first and leaves
  the output unchanged (1969-13-01 returns 0x80B50009).
- sceRtcSetTick and sceRtcSetWin32FileTime have no upper limit: the tick
  after 9999-12-31 23:59:59.999999 is 10000-01-01 and the file time
  2^64 - 1 is 60056-05-28 05:36:10.955161. sceRtcGetDayOfWeek accepts
  years past 9999 (10000-01-01 is 6).
- sceRtcFormatRFC3339 returns 0x80B50008 when the zone-shifted tick is
  outside years 1 to 9999. sceRtcFormatRFC2822 returns 0x80B50003 when it
  is negative as a signed value and 0x80B50008 when it is past 9999.

The PS5-measured cases of GuestRtc.cpp that the probe repeated (RFC 3339
and RFC 2822 parsing, named and military zones, DOS time, TickAdd) give the
same results on the PS4. The three expectations changed here (SetTick past
9999, SetTime_t(-1), RFC 2822 at the limit with +1 minute) came from
commits that cite no measurement. Not yet confirmed on PS5.

Written with AI assistance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 15:51:03 +02:00
Federico Marras a242637da4 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into docs/ajm-instance-signature-sources 2026-10-22 15:47:23 +02:00
Federico Marras 06f25300f9 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/system-service-app-title-id 2026-10-22 15:43:43 +02:00
Federico Marras d5d453c229 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/net-get-sock-info6 2026-10-22 15:43:20 +02:00
Federico Marras 73822f3fea Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/http-memory-pool-stats 2026-10-22 15:42:59 +02:00
Federico Marras a75002323d Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/audio-out-mastering 2026-10-22 15:42:17 +02:00
Federico Marras b655a905ba Merge branch 'feat/ngs2-calc-atrac9-block' into feat/ngs2-atrac9-module-loops 2026-10-22 15:39:16 +02:00
Federico Marras d20d4cb60e Merge branch 'feat/ngs2-calc-vag-block' into feat/ngs2-calc-atrac9-block 2026-10-22 15:38:23 +02:00
Federico Marras 7644d6c2b4 Merge branch 'feat/ngs2-parse-pcm-depths' into feat/ngs2-parse-format-codes 2026-10-22 15:37:28 +02:00
Yunus Shaikh f045da9026 Merge main into feat/libscehmd-no-headset-queries 2026-10-22 06:36:43 -07:00
Federico Marras 5d6a00842f Merge branch 'feat/ngs2-system-option-codes' into feat/ngs2-system-create-arguments 2026-10-22 15:35:09 +02:00
Federico Marras ac0ef4f214 Merge branch 'feat/ngs2-system-option-codes' into feat/ngs2-system-rate-grain-codes 2026-10-22 15:34:17 +02:00
Rookie f0e63df885 feat(libSceNpManager): answer the user ID account queries for a signed-out user
sceNpCheckNpAvailabilityA, sceNpGetAccountLanguageA,
sceNpGetParentalControlInfoA and sceNpGetAccountDateOfBirthA return
SIGNED_OUT without writing, like sceNpGetAccountCountryA. The game
presence queries report OFFLINE. A null pointer or user id -1 is
INVALID_ARGUMENT, and the request forms refuse request id 0 and an
unknown request as sceNpSetGamePresenceOnline does. Signatures and
checks follow shadPS4 and Orbital; sceNpIsPlusMember keeps throwing.
2026-10-22 14:33:49 +01:00
Rookie 4951eee5ed fix(libc): compute acosf with FreeBSD msun's algorithm, as the console's libc.prx does 2026-10-22 14:33:15 +01:00
Rookie b6dc6a5d4d feat(libSceVideodec): implement sceVideodecQueryResourceInfo
Validate the configuration and resource information as
sceVideodecCreateDecoder does, map the configuration the same way and
report the memory and frame buffer requirements that
sceVideodec2QueryDecoderMemoryInfo gives for it.
2026-10-22 14:32:24 +01:00
Federico Marras 845000aaf8 Merge branch 'feat/ngs2-system-reset-option' into feat/ngs2-system-option-codes 2026-10-22 15:32:04 +02:00
MarcZX10 26ea36f114 feat(libSceSsl): implement full-buffer send and receive 2026-10-22 13:31:21 +00:00
Federico Marras 926310ee8d Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/ngs2-waveform-frame-info 2026-10-22 15:28:56 +02:00
Federico Marras aa642c46a2 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/ngs2-render-buffer-codes 2026-10-22 15:26:36 +02:00
Federico Marras 8accc665b1 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/ngs2-parse-pcm-depths 2026-10-22 15:24:48 +02:00
Federico Marras 6750e01384 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/ngs2-calc-vag-block 2026-10-22 15:23:02 +02:00
Dean b786b907c8 Merge pull request #8113 from Nixitov/feat/videodec2-init-library
feat(libSceVideodec2): declare sceVideodec2InitLibrary
2026-10-23 02:22:58 +13:00
Dean 830ccd121f Merge pull request #9303 from oneandonlydean/fix/getdents-app0-symlink-type
fix(libkernel): report app0 symlinks as their target type in getdirentries
2026-10-23 02:19:24 +13:00
hypermistandClaude Opus 5.5 d811e7abf0 fix(libc): set strtof ERANGE as the titles' libc.prx does
strtof and wcstof now set ERANGE for a decimal input whose nonzero
subnormal result is inexact, never for a hexadecimal nonzero subnormal,
and keep it for underflow to zero and overflow. This is what the libc.prx
bundled with PPSA08427 (J03547016) and PPSA03671 (J03848509) do when run
side by side with this libc. The earlier commit followed
libSceLibcInternal's _Stof, which leaves errno alone for hexadecimal under-
and overflow, but titles import these NIDs from their own libc.prx.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-23 02:15:34 +13:00
Federico Marras 4746d233b4 Merge remote-tracking branch 'upstream/main' into feat/avplayer-trick-speed-bandwidth-source 2026-10-22 15:14:29 +02:00
hypermist 0139f95bd8 Merge remote-tracking branch 'upstream/main' into fix/libc-strtof-sign-hex-range 2026-10-23 02:04:52 +13:00
Yunus Shaikh b801b76e2f Merge main into feat/libkernel-sys-libthr-names 2026-10-22 06:04:28 -07:00
LeandroLP23andClaude Opus 5.5 6e1df42286 feat(libkernel): answer kern.proc.env for the calling process
PS5VR (PPSA99177) reads sysctl {CTL_KERN, KERN_PROC, KERN_PROC_ENV, pid}
for its own pid at start-up and stopped on "unsupported MIB 1.14.35.<pid>".
The call now returns the empty start-up environment that environ and
libc's getenv also begin with, and follows FreeBSD 11's
sysctl_kern_proc_env for the errors: EINVAL for a MIB without exactly one
pid, ESRCH for another pid or -1, EPERM for a write.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 14:57:08 +02:00
Yossi Yadgar f6d5447d54 docs(debt): record the libSceGnmDriverForNeoMode default state packets 2026-10-22 15:54:42 +03:00
Yossi Yadgar 26893b36b9 docs(debt): record the sources of the internal module calls 2026-10-22 15:52:25 +03:00
Yossi Yadgar ab22ac3c4e docs(debt): record the libSceVrTracker lifecycle and device calls 2026-10-22 15:52:14 +03:00
hypermistandClaude Opus 5.5 b5ea1d2347 docs(opus): keep the timeout entry beside the remaining unknown exports
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SNqSvnFwRBz3D76n476yw6
2026-10-23 01:40:46 +13:00
hypermistandClaude Opus 5.5 665f2f7f12 feat(opus): decode to float and with a priority in libSceOpusDec and libSceOpusCeltDec
Both modules route every decode export through one worker. Its checks
run in this order: state, packet, size, PCM pointer, capacity, then a
priority outside 20..100 (+0xA), then the state check (+1). Decode passes
priority 40.

The float exports decode 16-bit PCM into capacity / 4 * 2 bytes of the
caller's buffer and widen each sample in place, dividing positive
samples by 32767 and the rest by 32768. They return the float byte count.

The OpusDec *AndTimeout exports take a timeout for the AJM batch wait and
a pointer that receives the batch ID only when that wait fails. The host
decode is synchronous, so neither is used; the debt entry records this.

Read from libSceOpusDec.sprx and libSceOpusCeltDec.sprx, firmware 12.00,
not measured on a console.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SNqSvnFwRBz3D76n476yw6
2026-10-23 01:40:46 +13:00