Commit Graph
7963 Commits
Author SHA1 Message Date
Dean 05f9995704 Merge pull request #8469 from hypermoist/feat/agcdriver-firmware-constants
feat(libSceAgcDriver): add the retail debug, capture and GPU reset results
2026-10-21 16:23:27 +13:00
hypermistandClaude Opus 5.5 813f5c4cf9 docs(libc): leave the wcsrtombs_s entry to #7841
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 16:22:54 +13:00
hypermistandClaude Opus 5.5 65544dc239 fix(libc): stop wcstombs_s at its limit and keep wcsftime's null buffer
wcstombs_s ends without error when a character does not fit a limit
below the capacity, as the console's does; wcsrtombs_s still reports
ERANGE there. Both paths became reachable with UTF-8. wcsftime keeps
returning 0 for a null buffer, and the debt entries that described the
single-byte locale now describe the UTF-8 one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 16:21:23 +13:00
hypermist 04dc63a353 Merge remote-tracking branch 'upstream/main' into fix/libc-utf8-multibyte
# Conflicts:
#	core/libs/prx/libc/src/Multibyte.cpp
2026-10-21 16:20:33 +13:00
Dean 9f4ddf7cf9 Merge pull request #8838 from orezraey/fix/http-uri-unescape-sweep-measured-ps5
fix(libSceHttp): unescape and sweep URIs as measured on a PS5
2026-10-21 16:10:19 +13:00
Dean 51a30d567a Merge pull request #8297 from thuanquang/docs/trunc-coord-debt
docs(agc): record that the host sampler replaces TRUNC_COORD's rounding
2026-10-21 16:09:49 +13:00
Dean a683688fe0 Merge pull request #8335 from ymatrix1/feat/systemservice-missing-exports
feat(libSceSystemService): export missing firmware system service interfaces
2026-10-21 16:07:01 +13:00
Dean 141a6a5104 Merge pull request #8322 from MarrasFederico/feat/ngs2-rack-user-data
feat(libSceNgs2): keep caller data on racks with sceNgs2RackSetUserData and sceNgs2RackGetUserData
2026-10-21 16:06:57 +13:00
NikoandClaude Opus 5.5 cfb371d5e1 feat(libSceVoice): implement sceVoicePausePortAll and sceVoiceResumePortAll
Both threw. They now take no arguments and return 0x804E0801 while the
library is not initialized and 0 otherwise, as shadPS4's PS4 versions
do; that not-initialized code is the one prosper reads for
sceVoiceStart, and RPCS3's PS3 calls make the same check. Like
sceVoicePausePort they change no reported state: VitaSDK documents that
pausing every port keeps buffered data and the reported port state, and
nothing here processes port data.

guest_voice calls both before sceVoiceInit and after sceVoiceEnd
(0x804E0801), and twice each with ports open, where GetPortInfo still
reports the same type, state and frame size.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 05:01:43 +02:00
Kraken aae12fa111 feat(libkernel): implement cfsetspeed 2026-10-21 04:00:42 +01:00
Dean d4eecab27a Merge pull request #8258 from YossiYad/feat/np-party-state
feat(libSceNpParty): report the user as not in a party from sceNpPartyGetState
2026-10-21 15:48:23 +13:00
Dean db45e8ee20 Merge pull request #8253 from santhoshkumar-dev/codex/freetype-charmap-access
feat(libSceFreeType): select and iterate character maps
2026-10-21 15:48:18 +13:00
Dean 394170059f Merge pull request #8069 from thuanquang/fix/force-degamma-unchanged-formats
fix(agc): sample formats that FORCE_DEGAMMA leaves unchanged without it
2026-10-21 15:44:22 +13:00
Dean 2ea908a9ae Merge pull request #8841 from oneandonlydean/docs/host-write-rule
docs(dev): require a HostWrite bracket around host writes into guest memory
2026-10-21 15:44:14 +13:00
Dean 5d10ea9ea0 Merge pull request #8791 from JJenkx/windows/calltrace-faulting-thread
feat(libc): list the reporting thread's own calls in the call trace report
2026-10-21 15:40:39 +13:00
Evgeniy KazarinandClaude Opus 5.5 69f843c910 perf(libkernel): reuse released direct-memory sections that never held data
The title allocates, maps and releases about 48 direct-memory blocks per frame.
Each allocation created a pagefile-backed section and each release closed it.
A released section whose pages were never stored to (resident pages keep their
data in private memory and saved buffers, not in the section) is still blank,
so up to 256 such sections of at most 16 MiB, 256 MiB in total, are kept by
size and handed to the next allocation of that size instead of a new
CreateFileMappingW. APS5_NO_DIRECT_MEMORY_SECTION_POOL keeps the old behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 10:32:44 +08:00
christophermonterocortes-cr 3768b3a23a feat(libSceNpCppWebApi): align stub signatures with demangled symbols 2026-10-20 20:29:43 -06:00
Dean cd700fe9ec Merge pull request #8793 from xXPBSXx/fix/pthread-kill-ended-thread-esrch
fix(libkernel): let pthread_kill with signal 0 report ESRCH for a thread that has ended
2026-10-21 15:27:29 +13:00
JJenkxandClaude Opus 5.5 844372448b fix(libSceVideodec2): answer the generic picture query for VP9 pictures
sceVideodec2GetPictureInfo writes the decoder's own picture layout. For a
VP9 decoder it now writes the 88-byte VP9 layout that
sceVideodec2GetVp9PictureInfo returns, instead of throwing. Mortal Shell 2
(PPSA34008) calls the generic query with that structure for its intro
movie. HEVC pictures still throw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 22:11:22 -04:00
frankea 62b29b6e77 docs(debt): say where the 13.40 values were measured without naming the title 2026-10-20 22:10:29 -04:00
Dean 4b62635bef Merge pull request #8241 from Henryisdjfunkyho/fix/check-compile-response-files
fix(tools): reject unexpanded response files in syntax checks
2026-10-21 15:02:36 +13:00
Dean f9aea30217 Merge pull request #8238 from milescoviello/fix/ngs2-callout-unlocked
fix(libSceNgs2): keep a rack lock and a voice callback from blocking other threads
2026-10-21 15:02:31 +13:00
Dean 494182e051 Merge pull request #8201 from savvaniss/fix/shader-call-link-wave-size
fix(shader): check call link registers for both wave sizes when the size is unknown
2026-10-21 15:02:27 +13:00
frankea 78926e215c Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into ps5-measured-1340
# Conflicts:
#	docs/dev/debt/libSceVideoOut.md
2026-10-20 22:01:26 -04:00
Felipebmaitan 733b0fdd4b docs(libSceRudp): record PPSA06888 option call sites 2026-10-20 22:59:36 -03:00
Dean 20de55550f Merge pull request #8095 from Unkown607/fix/videoout-119hz-display-fallback
fix(libSceVideoOut): fall back to 59.94 Hz when display drops below 120 Hz
2026-10-21 14:59:25 +13:00
Dean Galvin 05d7bdb088 docs(dev): require a HostWrite bracket around host writes into guest memory
Kernel and native-library writes into guest pages the write watch left read-only fail with EFAULT on macOS and ERROR_NOACCESS on Windows (#7473). State the rule where contributors look and point the macOS write-watch debt entry at it.
2026-10-21 14:57:32 +13:00
frankea 23a8673cfb docs(libScePad): keep the touchpad entry under 1000 characters 2026-10-20 21:56:44 -04:00
Dean GalvinandxXPBSXx 8cb7251b2e Merge origin/main into PR 8626
Co-authored-by: xXPBSXx <[email protected]>
2026-10-21 14:56:22 +13:00
Dean GalvinandMuhammad Wasif Ali Wasif 490adefc09 Merge origin/main into PR 8134
Co-authored-by: Muhammad Wasif Ali Wasif <[email protected]>
2026-10-21 14:56:22 +13:00
Dean b13183e59e Merge pull request #7473 from Dripl1x/codex/skip-clean-resident-write-watch
perf(libc): skip write-watch queries for proven clean resident ranges
2026-10-21 14:55:09 +13:00
xdCloudy 6fa316546c fix(libSceAgc): drop interpolant export duplicates 2026-10-21 02:53:31 +01:00
Celegans12 5804207c50 perf(agc): stage the written elements of address-based compute builds in device memory
An address-based compute build bound its written V# elements in place in
the host imports of the cached address space, and its BDA table sent the
same addresses there, so every access went over PCIe. A written element
inside one import region now becomes a region of its own, staged like any
written element (copy-in, device-local shadow, copy-back), and
AddressRanges cuts the import's table entry around it so pointers into
the element reach the shadow as its descriptor does. resolveOverlays
keeps a cluster only when it lies inside one direct import region, is
stagingEligible and is crossed by no in-place range or own region.
Dispatches under APS5_BDA_STAGING_MIN_THREADS (512) threads keep the
imports; APS5_NO_BDA_STAGING=1 turns it off. Test: agc_bda_staging.
The copy-back trade-off of staged elements is listed as technical debt.

AI-assisted: yes
2026-10-21 03:53:21 +02:00
orezraeyandClaude Opus 5.5 d991252d25 fix(libSceHttp): keep the unmeasured single-dot sweep boundary
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 22:50:59 -03:00
Dean 6c12024f7d Merge pull request #8741 from Queuse/fix/libc-freopen-share-delete
fix(libc): share delete on standard stream reopen
2026-10-21 14:47:29 +13:00
xdCloudy 14297e4be0 feat(prx): add missing libSceWkFontConfig exports 2026-10-21 02:37:20 +01:00
xdCloudy 47191db597 feat(prx): add missing libSceTEEClient exports 2026-10-21 02:37:20 +01:00
xdCloudy 5beeda24a3 feat(prx): add missing libSceSdma exports 2026-10-21 02:37:19 +01:00
xdCloudy 1dd35ad32e feat(prx): add missing libSceNpTrophy2 exports 2026-10-21 02:37:18 +01:00
xdCloudy 7b8ba55c94 feat(prx): add missing libSceJxr exports 2026-10-21 02:37:16 +01:00
xdCloudy 5d634365fc feat(prx): add missing libSceLibreSsl3 exports 2026-10-21 02:37:16 +01:00
xdCloudy 78ed190822 feat(prx): add missing libSceLibreSsl exports 2026-10-21 02:37:16 +01:00
xdCloudy 76c0bfd264 feat(prx): add missing libSceIme exports 2026-10-21 02:37:15 +01:00
xdCloudy 85809367f8 feat(prx): add missing libSceHttp2 exports 2026-10-21 02:37:15 +01:00
xdCloudy 54441683d8 feat(prx): add missing libSceIpmi exports 2026-10-21 02:37:15 +01:00
xdCloudy 1c7f5427e2 feat(prx): add missing libSceGnmDriverForNeoMode exports 2026-10-21 02:37:14 +01:00
xdCloudy 44f8776f8b feat(prx): add missing libSceDepth2 exports 2026-10-21 02:37:14 +01:00
xdCloudy 78616fb1c7 feat(prx): add missing libSceDepth exports 2026-10-21 02:37:13 +01:00
xdCloudy c408184c8b feat(prx): add missing libSceBemp2sys exports 2026-10-21 02:37:13 +01:00
xdCloudy 86e37f75cf feat(prx): add missing libSceBeisobmf exports 2026-10-21 02:37:12 +01:00