Commit Graph
10007 Commits
Author SHA1 Message Date
BunnyFlandClaude Opus 5.5 f4d2d44466 fix(libSceAudio3d): let open ex check like open in a PS4 process
In firmware 13.42 sceAudio3dPortOpenEx only sets the flag that skips
the PS4-process AudioOut2 advances, which this library never makes, so
it now opens like sceAudio3dPortOpen. A PS4-process open reports an
open port before an unsupported buffer mode or bed count, as the
firmware does, and the debt entry records the advances after an open
and a push for a PS4 SDK of 0x11000000 or later.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:30:55 +01:00
BunnyFlandClaude Opus 5.5 96aa06c34f fix(libSceAudio3d): follow the firmware's PS4-process branch
Store sceKernelIsPs4Process at sceAudio3dInitialize as firmware 13.42
does and follow its PS4-process answers: bed write2 rejects route 1 on a
2-bed port, audio out open rejects port type 3 with param bit 17 and
checks like a PS5 process otherwise, and a repeated initialize returns
NOT_READY before the reserved check. Formats 6 and 7 throw for a PS4
process because the firmware rewrites them by PS4 SDK version, which
this project cannot read yet. Test the outputs loop and its reports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:30:55 +01:00
BunnyFlandClaude Opus 5.5 7f45264713 fix(libSceAudio3d): keep PS4-process answers and read the port id only for reports
Choose the firmware 13.42 PS5 rules or the earlier answers by
sceKernelIsPs4Process for the port open, open ex, create and bed write2
route checks, read the port id for a call report only when a call
handler is registered, as the firmware does, and report a null
parameter pointer from sceAudio3dAudioOutOutputs without pointer
arithmetic on null.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:30:55 +01:00
BunnyFlandClaude Opus 5.5 5f25ef8a97 feat(libSceAudio3d): follow firmware 13.42 for the port, report and audio out calls
sceAudio3dPortOpenEx, sceAudio3dPortDestroy, sceAudio3dPortGetStatus,
sceAudio3dReportRegisterHandler and sceAudio3dReportUnregisterHandler are
implemented, and sceAudio3dPortOpen, sceAudio3dPortCreate, the object
and audio out calls and the port close follow the checks of firmware
13.42's libSceAudio3d.sprx for a PS5 process.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:30:55 +01:00
Adrià ddd99fdadb Merge pull request #13595 from kyon-eth/feat/jxr-parser-320-exports
feat(libSceJxrParser): declare callable exports
2026-10-31 07:48:33 +01:00
Adrià 0f6143fecf Merge pull request #13594 from kyon-eth/feat/png-parser-320-exports
feat(libScePngParser): declare callable exports
2026-10-31 07:42:29 +01:00
Adrià 686299faa7 Merge pull request #13598 from MarcZX10/docs/debt-D14-1
docs(libkernel): sysctlnametomib returns ENOENT for four unanswered sysctl names
2026-10-31 07:42:21 +01:00
Adrià 6508cbf7b8 Merge pull request #13592 from kyon-eth/feat/gif-parser-320-exports
feat(libSceGifParser): declare callable exports
2026-10-31 07:41:24 +01:00
Adrià 833be4af8d Merge pull request #13579 from akkadbakkad89/np-cpp-web-api-title-imports
feat(libSceNpCppWebApi): declare title-imported exports and implement the Common machinery
2026-10-31 07:31:42 +01:00
Adrià 5a14a6c5d7 Merge pull request #13590 from MarcZX10/docs/debt-D1-3
docs(libSceAudio3d): PortAdvance on a full queue returns NOT_READY, it does not throw
2026-10-31 07:25:22 +01:00
akkadbakkad89andDevin 38004dd687 feat(libSceNpCppWebApi): declare title-imported exports and implement the Common machinery
Adds the exports imported by PPSA20397 and PPSA03530 that had no
provider: Matchmaking::V1, Matches::V1, SessionManager::V1,
UserProfile::V1, TitleCloudStorage::V1, InGameCatalog::V5 domain
surfaces and the Common template instantiations over their types.

IntrusivePtr, Vector, Iterator and Transaction members follow the
layouts already implemented for the earlier titles; API verbs,
factories and transaction entry points fail
SCE_NP_WEBAPI_ERROR_NOT_SIGNED_IN as a signed-out console does;
parameter bookkeeping succeeds without state; response accessors and
vector iteration throw since a failed request produces no response.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-31 11:39:09 +05:30
Adrià 18f5949788 Merge pull request #13588 from MarcZX10/docs/debt-D1-1
docs(libSceAmpr, libSceAudioOut): correct two debt statements
2026-10-31 06:02:12 +01:00
Adrià 0835ec8bdc Merge pull request #13576 from pushkarreddyy/fix/direct-memory-queries-efault
fix(libkernel): return EFAULT from direct memory queries for invalid memory pointers
2026-10-31 05:15:50 +01:00
Adrià 696215b704 Merge pull request #13556 from pushkarreddyy/fix/flexible-memory-queries-efault
fix(libkernel): return EFAULT from flexible memory queries and PRT aperture for invalid memory
2026-10-31 05:14:45 +01:00
Adrià d4627bad7b Merge pull request #13552 from pushkarreddyy/fix/system-version-efault
fix(libkernel): return EFAULT from system version queries for invalid memory
2026-10-31 05:10:40 +01:00
Adrià 69c43dd403 Merge pull request #13577 from pushkarreddyy/fix/login-efault
fix(libkernel): return EFAULT from getlogin_r and SetLogin for invalid memory pointers
2026-10-31 05:08:35 +01:00
Adrià bad19a5bd9 Merge pull request #13507 from pushkarreddyy/fix/sigwait-efault
fix(libkernel): return EFAULT from sigtimedwait, sigwaitinfo and sigwait for invalid memory
2026-10-31 05:07:32 +01:00
Adrià 2364892547 Merge pull request #13584 from MarcZX10/docs/debt-D8-1
docs(libSceSsl): pool exhaustion throws bad_alloc on AnyPS5, not SSL_ERROR_OUT_OF_MEMORY
2026-10-31 04:58:08 +01:00
KernelPanicNT 78c9c9127a feat(libSceNKWebKit): parse decimal numbers as WTF double-conversion
Implement the six WTF::charactersToDouble and WTF::charactersToFloat
overloads for Latin-1 and UTF-16 input and the four static
WTF::double_conversion::StringToDoubleConverter StringToDouble and
StringToFloat overloads for char and uint16_t input, following pinned
public WebKit. One parser follows StringToIeee: the number grammar, the
772-digit cut with a sticky digit, the exponent saturation and the
processed length. charactersToDouble and charactersToFloat add
toDoubleType's leading ASCII spaces and ok/parsedLength results, map
UTF-16 code units above 0x7F to 0 and round the float overloads through
double. StringToDoubleConverter reads the code units as they are, skips
no spaces and rounds StringToFloat directly to float as Strtof does.
Null characters with a nonzero length and a null processed length throw
where WebKit faults, a decimal exponent that leaves the range of
WebKit's int throws where WebKit overflows, and a UTF-16 charactersTo*
length above UINT32_MAX throws where WebKit's conversion Vector crashes.
2026-10-31 03:59:10 +01:00
Adrià e2df06e661 Merge pull request #13565 from KernelPanicNT/feat/nkwebkit-wtf-date-parsing
feat(libSceNKWebKit): parse legacy dates as WTF DateMath does
2026-10-31 03:47:56 +01:00
pushkarreddyy 7923458a2b docs(libkernel): clarify signal wait debt contract per libthr and kernel 2026-10-31 08:16:23 +05:30
pushkarreddyy 76c0194553 docs(libkernel): record signal wait memory validation contract 2026-10-31 08:16:23 +05:30
pushkarreddyy 9c2a80ad0e docs(libkernel): record sequential write behavior in sceKernelGetPrtAperture 2026-10-31 08:15:41 +05:30
pushkarreddyy 1d14e08e6d docs(libkernel): record flexible memory queries and PRT aperture memory validation contract 2026-10-31 08:15:41 +05:30
pushkarreddyy f0879516b8 docs(libkernel): document direct memory query destination copyout fallbacks 2026-10-31 08:14:53 +05:30
pushkarreddyy c4236a6594 docs(libkernel): clarify getlogin_r and setlogin debt notes 2026-10-31 08:14:25 +05:30
pushkarreddyy 5649f9ec92 docs(libkernel): document getlogin_r and setlogin pointer fault behavior 2026-10-31 08:14:24 +05:30
pushkarreddyy 05735027f8 docs(libkernel): keep system version queries debt entries within limit 2026-10-31 07:58:08 +05:30
AdriàandClaude Sonnet 5.5 5c0646737d fix(libkernel): write only the version fields and keep errno in system version queries
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 07:55:32 +05:30
pushkarreddyy 4a9bb50ff0 docs(libkernel): record system version queries memory validation contract 2026-10-31 07:55:08 +05:30
Adrià 9eca75175e Merge pull request #13545 from pushkarreddyy/fix/page-table-stats-efault
fix(libkernel): return EFAULT from page table and trace memory stats for invalid memory
2026-10-31 03:16:52 +01:00
Adrià 4b7af94e1d Merge pull request #13537 from pushkarreddyy/fix/sendfile-efault
fix(libkernel): return EFAULT from sendfile for invalid memory pointers
2026-10-31 03:00:47 +01:00
Adrià de5c21f4f0 Merge pull request #13562 from JaceTheBlu/feat/libressl-obj-create
feat(libSceLibreSsl): implement OBJ_create and free added objects in OBJ_cleanup
2026-10-31 02:59:51 +01:00
Adrià 41d0d902cc Merge pull request #13532 from relativespace2K/feat/libkernel-kern-proc-proc
feat(libkernel): answer kern.proc.proc with the calling process
2026-10-31 02:57:46 +01:00
Adrià da88f4489a Merge pull request #13544 from cocoa55/fix/mutex-spin-yield-loops
fix(libkernel): spin and yield by the mutex spin and yield loop counts
2026-10-31 02:57:38 +01:00
KernelPanicNT 896d58b425 feat(libSceNKWebKit): parse legacy dates as WTF DateMath does
Implement WTF::parseDateFromNullTerminatedCharacters(const char*, bool&)
following pinned public WebKit DateMath.cpp: the legacy RFC 2822 style
parser with its month names, comments, three date layouts, two-digit
years, am/pm, numeric offsets and time zone names, and the time range
clamp before the zone offset. Integers go through the guest libc
strtol, as WebKit calls the platform C library. Null pointers throw
where WebKit faults, and a signed overflow that is undefined in WebKit
throws. The one-argument overload still throws because it depends on
the port's configure-time time functions and the device time zone.
2026-10-31 02:55:51 +01:00
Adrià 539c3425f8 Merge pull request #13539 from BunnyFl/feat/libkernel-amm-mapper-calls-1030
feat(libkernel_sys): add the AMM mapper calls
2026-10-31 02:31:27 +01:00
AdriàandClaude Sonnet 5.5 4f34341268 docs(libkernel): say the trace memory stats EFAULT is a host answer, not the firmware's
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 02:24:41 +01:00
pushkarreddyy ba2ac8c20e docs(libkernel): record page table and trace memory stats memory validation contract 2026-10-31 02:24:36 +01:00
Adrià a46b04dfe1 fix(libkernel): ignore unwritable sbytes in sendfile and bound iovec allocation 2026-10-31 02:16:45 +01:00
pushkarreddyy 2c0987cea3 docs(libkernel): record sendfile memory validation contract 2026-10-31 02:16:33 +01:00
Adrià ab1c3b8b63 Merge pull request #13341 from frankea/feat/f64-integer-emulation
feat(shader): compute f64 add, mul and f32 conversions with integers on devices without Float64
2026-10-31 01:26:50 +01:00
Adrià 93c71cc1bb Merge pull request #13510 from JAB-dev/fix/ngs2-default-port-map-ps5
fix(libSceNgs2): use the PS5 default channel map for ports and mastering output
2026-10-31 01:19:55 +01:00
Adrià d77f1afeb9 Merge pull request #13508 from kyon-eth/feat/ime-320-exports
feat(libSceIme): declare 2 callable exports
2026-10-31 01:19:47 +01:00
Adrià 7ceda1326c Merge pull request #13505 from kyon-eth/feat/webm-parser-mdrw-export
feat(libSceWebmParserMdrw): declare seven callable exports
2026-10-31 01:09:41 +01:00
Adrià b9f0a7416b Merge pull request #13501 from kyon-eth/feat/logger-queue-client-export
feat(libSceSystemLogger2NativeQueueClient): declare one callable export
2026-10-31 01:09:34 +01:00
Adrià bdbc2a040e Merge pull request #13469 from kyon-eth/feat/videooutsecondary-320-exports
feat(libSceVideoOutSecondary): declare two callable exports
2026-10-31 01:09:27 +01:00
Adrià b852c46c7d Merge pull request #13467 from kyon-eth/feat/bemp2sys-320-exports
feat(libSceBemp2sys): declare two callable exports
2026-10-31 01:08:51 +01:00
Adrià 7b12d92e34 Merge pull request #13426 from kyon-eth/feat/jxr-guid-data-320
feat(libSceJxr): expose 88 image identifier data exports
2026-10-31 01:08:37 +01:00
Adrià 845595d60b Merge pull request #13384 from kyon-eth/feat/ulobjmgr-320-exports
feat(ulobjmgr): declare two callable exports
2026-10-31 01:08:30 +01:00