Commit Graph
13406 Commits
Author SHA1 Message Date
zaryabzip 2f862a3f6f fix(libSceHmd): check the handle before initialization in the device-information and field-of-view queries
Firmware 13.42's libSceHmd, run under an emulator (BunnyFl on #9577),
returns HANDLE_INVALID for any handle but 0 before initialization from
sceHmdGetDeviceInformationByHandle and sceHmdGetFieldOfView, and
NOT_INITIALIZED for handle 0 below SDK 4.50. The host returned
NOT_INITIALIZED for every handle.
2026-11-05 01:53:20 +05:00
LeandroLP23andClaude Opus 5.5 3c949c1dd4 fix(pad): scale the Bluetooth DualSense haptics stream by ANYPS5_RUMBLE
The controller sound card path already scales its samples by ANYPS5_RUMBLE, but
the Bluetooth haptics stream took the vibration port samples before that, so
ANYPS5_RUMBLE=0 still left a Bluetooth DualSense vibrating.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:47:03 +01:00
LeandroLP23andClaude Opus 5.5 d7fb2a3ec3 fix(pad): restore the DualSense haptics configuration after a rumble stops
SDL sends scePadSetVibration rumble as report 0x31 with audio haptics
turned off. Once the rumble stopped, the stream's haptics came back at a
different strength than before it. The stream thread now sends its
configuration report 0x31 again 100 ms after slot 0's rumble stops, which
brought the haptics back to their level before the rumble.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:47:03 +01:00
LeandroLP23andClaude Opus 5.5 986ae87c8a fix(pad): pace Bluetooth DualSense haptics reports and keep a failed stream silent
The worker sent a backlog of buffered blocks back to back. It now sends at
most one report 0x32 per 10.67 ms, the length of one 32-frame block at
3 kHz, without a catch-up burst after a pause.

A failed report write cleared the stream-open flag, which sent the vibration
ports to motor rumble. The flag now stays set until the controller
disconnects, so the ports stay silent while the stream is stopped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:47:03 +01:00
e0b0f2b91d fix(pad): send a DualSense haptics report once two blocks are buffered
The 10.672 ms timer took a block only when it fired, so audio arriving in
blocks smaller than 32 haptic frames (16 from a 256-frame legacy port)
regularly found fewer than 32 frames and the report was skipped; catching
up after falling behind sent two reports back to back and left a ~21 ms
hole. The controller, asked to queue only 16 frames, then ran dry, and
the haptics dropped out about once per second on hardware.

The stream thread now waits on a condition variable until two blocks are
buffered and sends one, so reports follow the audio clock, and report
0x32 asks the controller to queue 64 frames (21 ms) to absorb Bluetooth
jitter and the difference between the title's rate and the controller's
crystal. Closing the stream wakes the waiting thread before the join.

Co-authored-by: seradavid <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:46:45 +01:00
115c187398 feat(pad): stream vibration ports to a Bluetooth DualSense as haptics reports
Co-Authored-By: beecrepaldi-afk <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:46:30 +01:00
Yunus Shaikh 354e5c8351 Merge main into feat/libressl-rsa-public-key 2026-11-04 12:40:06 -08:00
Yunus Shaikh c83992150b Merge main into feat/libressl-evp-cipher 2026-11-04 12:37:26 -08:00
Dean Galvin fc018e4614 Merge branch 'main' 2026-11-05 09:04:15 +13:00
Dean 1c03968050 Merge pull request #12918 from Kikoarl/feat/libSceNet-so-dontroute
feat(libSceNet): support SO_DONTROUTE in sceNetSetsockopt and sceNetGetsockopt
2026-11-05 09:00:27 +13:00
Dean 0ba9b059b3 Merge pull request #12903 from BunnyFl/fix/pngdec-chunk-checks
fix(libScePngDec): check PNG chunks as the console does
2026-11-05 09:00:22 +13:00
Dean 8748851eb1 Merge pull request #11662 from LordVersA/feat/libressl-library-init
feat(libSceLibreSsl): implement SSL library init
2026-11-05 09:00:18 +13:00
Dean 0263899e99 Merge pull request #15764 from JJenkx/fix/pad-trigger-effect-mask
fix(libScePad): check only the selected triggers' modes in scePadSetTriggerEffect
2026-11-05 08:21:20 +13:00
Dean d11668dcc6 Merge pull request #15694 from JJenkx/fix/ngs2-ps5-filter-sizes
fix(libSceNgs2): accept the PS5 SDK filter params in libSceNgs2
2026-11-05 08:21:12 +13:00
Dean d0af403307 Merge pull request #14986 from fogydes/fix/libSceVdecSavc2-pointer-validation
fix(libSceVdecSavc2): ignore unwritable version pointers in sceSdecGetVersionSw2
2026-11-05 08:20:22 +13:00
Dean ccef460fe0 Merge pull request #14869 from ntamas94/claude/elegant-pascal-2uae4z
docs(debt): record libSceFios2 init parameters and error mapping from the PS4 module
2026-11-05 08:20:18 +13:00
Dean 52fb23cbb7 Merge pull request #14847 from kallmek3nny/fix/libSceNpWebApi2-push-null-callback
fix(libSceNpWebApi2): refuse a null push-event callback
2026-11-05 08:20:13 +13:00
Dean 44d38bae90 Merge pull request #14224 from zaryabzip/feat/webrtc-rms-level
feat(libwebrtc): implement webrtc::RmsLevel's constructor, destructor, Analyze and Average
2026-11-05 08:19:59 +13:00
Dean dae7849938 Merge pull request #13968 from pushkarreddyy/fix/savedatadialog-getresult-efault
fix(libSceSaveDataDialog): return ARG_NULL from sceSaveDataDialogGetResult for unwritable pointers
2026-11-05 08:19:54 +13:00
Dean 9e70d97449 Merge pull request #13953 from pushkarreddyy/fix/ksem-getvalue-efault
fix(libkernel): return EFAULT from ksem_getvalue for invalid memory pointers
2026-11-05 08:19:49 +13:00
Dean 269419694c Merge pull request #13119 from JJenkx/fix/libc-ordinary-short-character-fields
fix(libc): retain ordinary short character scan fields
2026-11-05 08:19:45 +13:00
Dean 6543b1b697 Merge pull request #12978 from KernelPanicNT/feat/freetype-module-properties
feat(libSceFreeType): support the remaining FreeType module properties
2026-11-05 08:19:40 +13:00
Dean 045eda43dc Merge pull request #12854 from slopgobblercobbler/fix/libkernel-mincore-error-parity
fix(libkernel): enforce FreeBSD 11.4 error precedence and vector copyout in mincore
2026-11-05 08:19:30 +13:00
Dean 8902eb56f7 Merge pull request #12851 from xdCloudy/feat/libSceAudioPropagation-introspection-9
feat(libSceAudioPropagation): implement report and system APIs
2026-11-05 08:19:26 +13:00
Dean 097e86df8b Merge pull request #10779 from stuart-russell/fix/agc-zero-export-format
fix(agc): a zero color export format is not a color export
2026-11-05 08:19:21 +13:00
Dean 5e2f04007b Merge pull request #9326 from erickerxhalli/feat/libkernel-mutex-prioceiling
feat(libkernel): implement pthread_mutex_getprioceiling and setprioceiling
2026-11-05 08:19:17 +13:00
Dean e60b0e0c31 Merge pull request #8630 from Ondra97/codex/fix-savedata-icon-persistence
fix(savedata): persist native save icons
2026-11-05 08:19:12 +13:00
Dean df721d53f2 Merge pull request #7192 from Jev1337/feat/libkernel-host-fault-exception-handlers
feat(libkernel): deliver host faults to sceKernelInstallExceptionHandler handlers
2026-11-05 08:19:08 +13:00
Dean 296b1ac934 Merge pull request #15795 from Pipodi/perf/shader-fault-check-dedup
perf(shader): skip fault checks dominated by the same check
2026-11-05 08:18:59 +13:00
Dean de5f875cab Merge pull request #15783 from mrfelek/perf/agc-moved-input-snapshot-cap
perf(agc): keep moved read-only draw inputs within the draw snapshot cap
2026-11-05 08:18:55 +13:00
Dean c087a68c05 Merge pull request #15682 from oneandonlydean/perf/shader-resources-costs
perf(agc): cut three per-draw costs in ShaderResources
2026-11-05 08:18:42 +13:00
Dean 3288b21f88 Merge pull request #15370 from oneandonlydean/fix/windows-deferred-dependency-start
fix(relinker): restore the Windows deferral of #12621 and start deferred dependencies first
2026-11-05 08:18:30 +13:00
Dean 4ba1a7090e Merge pull request #14971 from JJenkx/fix/agc-fuse-front-constant-buffer
fix(agc): keep a front half's embedded constant buffer when fusing geometry halves
2026-11-05 08:18:26 +13:00
Dean e358f2fc14 Merge pull request #14838 from oneandonlydean/carry-9012
perf(agc): audit a cached template only after the host import set changed
2026-11-05 08:18:22 +13:00
Dean 020377bf9b Merge pull request #14265 from Astronaut10/perf/shader-vertex-specialized
perf(shader): emit vertex modules specialized instead of in registration form
2026-11-05 08:18:17 +13:00
Dean ef995b015c Merge pull request #11772 from nekomancer01/fix/avplayer-video-start
fix(libSceAvPlayer): keep the no-sync clock from following audio pulled early
2026-11-05 08:18:12 +13:00
Alvaro a7bcb62588 feat(libSceLibreSsl): implement OCSP_single_get0_status 2026-11-04 20:01:49 +01:00
Alvaro 963d2a5d92 feat(libSceLibreSsl): implement OCSP_response_status 2026-11-04 20:01:48 +01:00
Alvaro 75a894274f feat(libSceLibreSsl): implement EVP_CIPHER_block_size 2026-11-04 20:01:29 +01:00
KernelPanicNT e9637ec833 Merge remote-tracking branch 'origin/main' into feat/cescs-jiscs 2026-11-04 18:34:14 +00:00
JJenkx 7a21d9762f chore(libc): merge main and preserve numeric regressions 2026-11-04 13:32:27 -05:00
JJenkx 9811e07c2f chore(libc): merge main and preserve numeric regressions 2026-11-04 13:32:26 -05:00
JJenkx 1b44472417 chore(libc): merge main and preserve numeric regressions 2026-11-04 13:32:25 -05:00
JJenkxandClaude Opus 5.5 9cfddbd613 Merge main 9ab6a281ea into the hypotf branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 13:27:22 -05:00
JJenkxandClaude Opus 5.5 7080ae351b Merge main 9ab6a281ea into the hypot branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 13:26:22 -05:00
hypermoistandClaude Opus 5.5 bfeaa3c2fc docs(libSceNpCommon): restore the debt rows the last main merge dropped
The merge of main removed the rows for nine pending exports that this PR
does not implement (#12823 turned their stubs into predicates and kept
the rows). They are back exactly as on main, so the file differs from
main only by this PR's own rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 07:25:56 +13:00
Adria Espi d6181228d6 feat(libSceNKWebKit): implement WKHitTestResult property getters 2026-11-04 19:13:34 +01:00
B-Howell b81773f76d Merge remote-tracking branch 'origin/main' into pr-10960
# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
2026-11-04 13:04:58 -05:00
Parsa Radfar 613f73545a docs(libSceLibreSsl): correct pending export count 2026-11-04 21:34:40 +03:30
Parsa Radfar ae8f532e4f feat(libSceLibreSsl): implement SSL library init 2026-11-04 21:34:02 +03:30