Commit Graph
20967 Commits
Author SHA1 Message Date
Logan1h c28180076d fix(agc): name the rejected PA_CL_CLIP_CNTL flag once in the message
zeroMessage appends  is unsupported, and both PA_CL_CLIP_CNTL rejections passed a
name that already read unsupported PA_CL_CLIP_CNTL flags, so a rejected draw or
state reported "unsupported PA_CL_CLIP_CNTL flags is unsupported (register 0x204 =
0x0c090000)" (seen on PPSA03541). Pass the register and the noun once, as the other
call sites do.
2026-10-22 19:29:13 +03:00
Dean 499b1cf9fc Merge pull request #7979 from emirplus/fix/libc-str-secure-overlap
fix(libc): check overlap in strncpy_s and strncat_s
2026-10-23 05:27:39 +13:00
m335671andClaude Opus 5.5 accae4b62d fix(agc): re-check a dispatch resolved ahead against memory before adopting it
Group capture resolves the dispatches behind a gate ahead and parks the
result per packet. A CPU store or a GPU write queued on another queue
between the resolve and the adoption was not seen, so the dispatch ran
with the descriptors and data it captured before. At adoption, reject the
ahead result when a non-code region it captured has a pending write or
no longer matches memory, and take the normal path instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 18:24:33 +02:00
Dean 751b2881ae Merge pull request #8871 from thuanquang/fix/msaa-enable-clear-lines
fix(agc): draw line lists and strips into a multisampled target with MSAA_ENABLE clear
2026-10-23 05:20:48 +13:00
Romans Pokrovskis fef3c4e35c test(agc): bound array sample expectations by the selected view 2026-10-22 19:17:12 +03:00
Romans Pokrovskis b8c6a94572 chore(agc): refresh PR 7948 on current main 2026-10-22 19:13:40 +03:00
Santhosh Kumar 991061e640 fix(libSceFreeType): guard curve-bound contour storage 2026-10-22 21:41:58 +05:30
Santhosh Kumar bb97918aea feat(libSceFreeType): query exact outline curve bounds 2026-10-22 21:41:56 +05:30
PacukaandClaude Opus 5.5 795c390339 fix(libSceAgc): take the semaphore address second in Acb/Dcb MemSemaphore
PPSA03396 calls sceAgcAcbMemSemaphore and sceAgcDcbMemSemaphore as
(cb, address, waitForMailbox, signalType, operation). Both read the
address from the fourth argument instead, so the call aborted with
"null or misaligned address 0x1".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 18:11:12 +02:00
orezraeyandClaude Opus 5.5 d34f5c9181 Merge main into fix/libkernel-msync-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 13:09:58 -03:00
JAB-devandClaude Sonnet 5.5 611db84ca5 fix(libSceAudioOut): validate the debug state id and size in sceAudioOut2SetSystemDebugState
sceAudioOut2SetSystemDebugState accepts only the loudness debug state (id 1, 8-byte param); other ids and sizes return the invalid param error and a null pointer returns the invalid pointer error. The one debug state the console also accepts, id 0x20 with a 4-byte param, throws.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-22 18:09:35 +02:00
m335671andClaude Opus 5.5 0edbb0d2fb refactor(agc): split a dispatch's device call into a complete and a record step
VulkanDevice::dispatch now ends after the resources are complete and
the pipeline is resolved, and hands a DispatchCompletion (references to
the context, shader, push constants, pipeline objects, resources and the
cache outcome) to recordCompletedDispatch, which records the dispatch
and runs what follows it: the lease sync, the traces and the recipe.
No behaviour changes; the code of both halves is unchanged.

This is the dispatch-side counterpart of the Graphics::Draw prepare and
record split discussed in #7895, so that later steps can complete a
dispatch apart from recording it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 18:08:05 +02:00
Alvaro 7fe0013eac feat(libSceJxr): implement PKFree as jxrlib does 2026-10-22 18:07:02 +02:00
JAB-devandClaude Sonnet 5.5 b939663075 fix(libSceNgs2): return the SDK pan error codes from sceNgs2PanInit
An unsupported speaker count returns 0x804A8451, a unit angle other than 360 or 2*pi with angles returns 0x804A8450 and a null work returns 0x804A8010, leaving the work untouched, instead of throwing.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-22 18:01:40 +02:00
emirplus eb102eac57 fix(tools): wrap entrypoint in main with stream reconfigure in pr_overlap 2026-10-22 19:00:10 +03:00
emirplus e8d8b1c725 fix(tools): reconfigure streams with backslashreplace in performance_compare 2026-10-22 18:57:44 +03:00
emirplus ca6c91ff98 fix(tools): reconfigure streams with backslashreplace in stubgen 2026-10-22 18:56:17 +03:00
Queuse f696ec8809 docs(net): keep independent option entries apart 2026-10-22 12:55:52 -03:00
Adrià 8499ea52e5 Merge pull request #8499 from xXPBSXx/fix/sendto-port-zero
fix(libkernel): fail sendto to port 0 from an unbound IPv4 datagram socket with EADDRNOTAVAIL
2026-10-22 17:54:00 +02:00
Dean 4d646b9e44 Merge pull request #8030 from emirplus/fix/progress-history-utf8
fix(tools): write progress history files with utf-8 encoding
2026-10-23 04:51:28 +13:00
Queuse 1ffb6a7163 docs(net): avoid shared debt insertion point 2026-10-22 12:47:45 -03:00
Adrià 093149c5bd Merge pull request #8483 from xXPBSXx/fix/poll-peer-close-pollin
fix(libkernel): report a stream whose peer closed as readable in poll on Windows
2026-10-22 17:44:27 +02:00
emirplus b4c6da5c07 fix(tools): write progress history files with utf-8 encoding 2026-10-22 18:34:17 +03:00
emirplus 2824bf21eb fix(libc): check size limits, overlap, and invoke handler in wcscpy_s 2026-10-22 18:33:56 +03:00
aasishdairel 8b86ca3984 fix(relinker): leave GS-prefixed LEA and NOP unchanged
LEA computes an effective address and the multi-byte NOP ignores its operand, so neither accesses memory and a GS prefix on them is ignored. The Windows TLS builder and macOS image writer treated every ModRM memory form as an access and replaced these instructions with UD2 and NOP padding.
2026-10-22 21:01:29 +05:30
emirplus a998987278 fix(libc): compare destination object range with source in strncpy_s and strncat_s 2026-10-22 18:31:04 +03:00
emirplus 4561711b75 fix(libc): check overlap in strncpy_s and strncat_s 2026-10-22 18:29:37 +03:00
emirplus 810d2a2976 fix(ci): decode CMakeCache with utf-8-sig and wrap entrypoint in check_test_registration 2026-10-22 18:29:25 +03:00
emirplus 78d13f849b fix(tools): wrap entrypoint in main with stream reconfigure in pr_labels
Wrap the pr_labels entrypoint in main(argv=None) with UTF-8 stream
reconfiguration using backslashreplace error handling.

Catch CalledProcessError when querying repository or pull request details
and report cleanly via parser.error rather than propagating an unhandled
traceback.
2026-10-22 18:28:08 +03:00
Queuse 1ca11e1f7e docs(net): record Winsock address reuse gap 2026-10-22 12:26:02 -03:00
Queuse 8dea78c490 docs(net): classify keepalive behavior debt 2026-10-22 12:25:35 -03:00
Queuse 89c08863b9 Merge remote-tracking branch 'origin/main' into codex/test-siginterrupt-contracts 2026-10-22 12:23:38 -03:00
Queuse a52cc17ded Merge remote-tracking branch 'origin/main' into codex/test-kernel-variant-runtime 2026-10-22 12:23:26 -03:00
Queuse 9c59f5ef1a Merge remote-tracking branch 'origin/main' into codex/test-stdio-host-handle 2026-10-22 12:23:15 -03:00
Queuse f555d351c8 Merge remote-tracking branch 'origin/main' into codex/net-buffer-validation 2026-10-22 12:23:03 -03:00
Queuse 19976f12c6 Merge remote-tracking branch 'origin/main' into codex/net-boolean-readback 2026-10-22 12:20:52 -03:00
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
Shahul Mubeen AandClaude Opus 5.5 a30c574aea fix(libSceAgc): accept register lists at any byte address
sceAgcCbSetShRegistersDirect and sceAgcCbSetUcRegistersDirect refused a
register list that was not 4-byte aligned. PPSA26344 passes the sh
register list of a shader header that sits 1 byte past an 8-byte
boundary (core_common_subcore.core_b1_fx.sprig.xpps; the unaligned
headers themselves are accepted since #902), and the title aborted with
"null or misaligned address 0x8021363131" after about 11 minutes in the
open world.

The list entries are now copied byte for byte, as #7606 does for register
range values. A null list with a count still throws.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 20:48:42 +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
bluandClaude Opus 5.5 37ba44ce4d test(libkernel_sys): link through a symbolic link loop on Windows
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 07:54:57 -07:00
Santhosh Kumar 1923058017 feat(libSceLibreSsl): select advertised application protocols 2026-10-22 20:19:58 +05:30
bluandClaude Opus 5.5 bba5bda48e Merge branch 'boykopovar:main' into fix/agc-vertex-format-widen
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 07:46:35 -07:00
Yunus Shaikh 9cad161c63 Merge main into port/fable-fix-template-bindings 2026-10-22 07:43:02 -07:00
Kartik Vats 745c173319 test(libc): give each app archive test its own root directory
EnterFreshRoot named the root from one steady_clock reading and reused
an existing directory. Under Rosetta 2, processes started together can
read the same value, so parallel guest_app_archive_* runs shared a root
and overwrote each other's app0.zar. The root is now claimed with
create_directory and renamed until the claim succeeds.
2026-10-22 10:40:11 -04:00
Kraken da52d09106 Merge branch 'feat/libkernel-pthread-timedjoin' into fix/libkernel-variant-timedjoin 2026-10-22 15:37:27 +01:00
Kraken 235ea5fd22 fix(libkernel): remove duplicate timed join discovery export 2026-10-22 15:37:19 +01:00
Izamaru dcb5768604 chore: refresh main for descriptor validation 2026-10-22 11:34:49 -03:00