Commit Graph
20967 Commits
Author SHA1 Message Date
MarcZX10 eb7ed110b5 feat(libSceHttp): implement auth-enabled option state 2026-10-22 13:31:21 +00:00
Rookie 7c213787ac fix(libkernel): treat a socket direction that is already shut as shut on macOS hosts 2026-10-22 14:29:40 +01:00
Rookie 45f4739c8d fix(libc): build getifaddrs netmasks from the address family on macOS hosts 2026-10-22 14:29:34 +01:00
Federico Marras 926310ee8d Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/ngs2-waveform-frame-info 2026-10-22 15:28:56 +02:00
Dean 8b3e39832a Merge pull request #8847 from JJenkx/fix/agc-msaa-srgb-twin
fix(agc): resolve and render a multisampled target through its sRGB twin format
2026-10-23 02:28:25 +13: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
Federico Marras 997409e550 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into fix/ngs2-atrac9-parsed-delay 2026-10-22 15:21:11 +02:00
Izamaru ae1c84b0b2 chore: merge main into pipeline cache lifetime fix 2026-10-22 10:19:35 -03: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
Federico Marras c018d42c08 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/ngs2-system-reset-option 2026-10-22 15:18:58 +02: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
Dean Galvin 458b941b39 Merge main into fix/agc-direct-write-completion-stamp 2026-10-23 02:05:52 +13: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
Romans Pokrovskis d62377dd75 fix(agc): settle queued HTILE clears before native depth use 2026-10-22 16:03:20 +03: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 1caaded886 test(libSceGnmDriverForNeoMode): check the default hardware and context state packets 2026-10-22 15:54:42 +03:00
Yossi Yadgar aa61cdc839 feat(libSceGnmDriverForNeoMode): write the Neo default context state 2026-10-22 15:54:42 +03:00
Yossi Yadgar f53d2d74c2 feat(libSceGnmDriverForNeoMode): write the Neo default hardware state 2026-10-22 15:54:16 +03:00
Dean 3ca07d086d Merge pull request #7233 from MarcZX10/codex/bda-store-exact-coverage-7220
fix(agc): separate possible writes from complete coverage
2026-10-23 01:53:33 +13:00
hypermistandClaude Opus 5.5 df70917ccc fix(agc): ask the swapchain for one image beyond the surface minimum
On Wayland with the NVIDIA driver the surface reports minImageCount 2.
The presenter acquires with a zero timeout, so once both images were
queued no image was ever free again: PPSA29340 flipped at 60 per second
but presented 0 frames per 10 s (599 dropped: no free swapchain image)
and its window stayed black. Ask for minImageCount + 1, capped by
maxImageCount when the surface has one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-23 01:52:59 +13:00
Yossi Yadgar 26893b36b9 docs(debt): record the sources of the internal module calls 2026-10-22 15:52:25 +03:00
Yossi Yadgar c63ef26066 test(libkernel_sys): cover the internal module info and list calls 2026-10-22 15:52:25 +03:00
Yossi Yadgar 9ca103df57 feat(libkernel_sys): implement sceKernelGetModuleInfoInternal and sceKernelGetModuleListInternal 2026-10-22 15:52:25 +03:00
Yossi Yadgar 36d4939b4e feat(libkernel): fill SceKernelModuleInfoEx by module handle 2026-10-22 15:52:18 +03:00
Yossi Yadgar 24447ef99e test(libSceVrTracker): check that a 144-byte init parameter throws 2026-10-22 15:52:14 +03:00
Yossi Yadgar ab22ac3c4e docs(debt): record the libSceVrTracker lifecycle and device calls 2026-10-22 15:52:14 +03:00
Yossi Yadgar 9fb84e2b55 test(libSceVrTracker): check memory queries, the tracker lifecycle and device registration 2026-10-22 15:52:14 +03:00
Yossi Yadgar a9e23bcc0b feat(libSceVrTracker): refuse a GPU wait with no GPU submission 2026-10-22 15:52:06 +03:00
Yossi Yadgar b182301586 feat(libSceVrTracker): check recalibration and tracking duration requests 2026-10-22 15:52:06 +03:00
Yossi Yadgar 764c4c8ddf feat(libSceVrTracker): register and unregister tracked devices 2026-10-22 15:52:06 +03:00
Yossi Yadgar 733ca2c661 feat(libSceVrTracker): initialize and terminate the tracker 2026-10-22 15:52:06 +03:00
Yossi Yadgar 107a17bd7b feat(libSceVrTracker): report the tracker memory requirements 2026-10-22 15:52:06 +03:00
harisibrar1andClaude Opus 5.5 8e31a8526e test(recompiler): shard shader_cache_runtime_sources to stay under 30 s
The test configures a CMake fixture several times and ran as one CTest
case: 78 s on a Windows 11 machine, and the Windows CI job warns that it
took 66.9 s against the 30 s limit in CONTRIBUTING.md. Its slowest method
alone took 27 s because it edited six sources in turn.

Split that method into one test per source and register the file as seven
CTest shards (--shard INDEX/COUNT, as the conventions_function_bodies
tests do). The first shard keeps the shader_cache_runtime_sources name. A
self-test checks that every shard count runs each case exactly once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 08:48:35 -04:00
harisibrar1andClaude Opus 5.5 e1342e7de2 test(relinker): find the Windows test executables with GetModuleFileNameW
autorun_exit_tests built its own path from argv[0] and
windows_dependency_diagnostics_tests from GetModuleFileNameA. Both are in
the ANSI code page on Windows, but MinGW's std::filesystem::path reads a
narrow string as UTF-8, so in a build directory with characters such as
"ü" both tests stopped with "Cannot convert character sequence: Illegal
byte sequence" before testing anything (windows_diagnostic_fixture_isolation
runs the second one).

Take the path from GetModuleFileNameW on Windows. The relinker and the
generated diagnostic runner already use UTF-8 and wide APIs, so nothing
else changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 08:48:34 -04:00
harisibrar1andClaude Opus 5.5 6b1916a2ed test(relinker): decode relinker output as UTF-8 in the path-checking tests
The relinker writes paths to stdout, stderr and its patch manifest as
UTF-8, but seven test scripts read them with the locale encoding. On
Windows that is the ANSI code page, so with a build directory such as
C:/Users/José/AnyPS5/build (the tests keep their temporary files under
the build tree) the decoded paths no longer match and game_patches,
guest_needed_modules, guest_symbol_names, input_file,
input_preservation, relinker_executables and tls_diagnostics fail.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 08:48:33 -04:00
harisibrar1andClaude Opus 5.5 bb89d0ae65 build(relinker): give dlltool a short temporary prefix for the msvcrt import library
dlltool names its temporary assembler files after the output path and
creates them in the build directory, so the windows_stdio_msvcrt_import.a
step fails with "failed to open temporary head file" once that file name
plus the directory exceeds MAX_PATH: with a build directory of 96
characters or more. Every other target still builds there.

Pass --temp-prefix so the temporary files keep a fixed short name in the
same directory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 08:48:32 -04:00
Izamaru f430eea4cb Merge branch 'boykopovar:main' into fix/pipeline-cache-save-temporaries 2026-10-22 09:43:29 -03:00
Izamaru f1b86baa2c Merge branch 'boykopovar:main' into fix/rve-descriptor-references 2026-10-22 09:43:10 -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
Federico Marras 1a0744851c docs(libSceNet): put the sceNetGetSockInfo6 debt entry at a line no open PR changes 2026-10-22 14:38:14 +02:00
Federico Marras 2c6440f83c docs(libSceNet): move the sceNetGetSockInfo6 debt entry after the sceNetInetPton entry 2026-10-22 14:36:46 +02:00
Federico Marras 37cd8e59fd docs(libSceNet): place the sceNetGetSockInfo6 debt entry where no open PR inserts 2026-10-22 14:35:58 +02:00
Federico Marras 4c00bf6a2f docs(libSceNet): move the sceNetGetSockInfo6 debt entry away from #9544's insertion point 2026-10-22 14:34:41 +02:00