feat(libkernel,libSceNet,libSceAudioOut): implement missing PRX function stubs #4447
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4447"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by YousefMohsen0 on 2026-10-12T11:52:37Z.
What
Implement proper C++ signatures with parameter validation for 12 missing PRX function stubs across
libSceNet,libSceAudioOut, andlibkernelas identified inTechnicalDebt.md.libSceNet:sceNetShowIfconfig,sceNetShowNetstat,sceNetResolverAbort,sceNetResolverStartNtoaMultipleRecordslibSceAudioOut:sceAudioOutExOpen,sceAudioOutExConfigureOutput,sceAudioOutExGetMonitorInfo,sceAudioOutExClose,sceAudioOutSysOpen,sceAudioOutSysConfigureOutput,sceAudioOut2UserGetSupportedAttributes,sceAudioOut2EnableChat,sceAudioOut2MasteringGetState,sceAudioOut2MasteringSetParamlibkernel:kqueue_nid_postfix,kevent_nid_postfixAudioOut2ChatParamstruct toSceTypes.hppTested
python3 tools/check_conventions.py --base origin/main- All checks passChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.md.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-12T11:52:44Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by ahmedmakroum on 2026-10-12T13:28:04Z.
Hi, the overlap bot linked this with my #4476, which implements five of the libSceJson2 stubs edited here (Array::iterator ctor, operator= and operator++(int), Object::Pair ctor and dtor). Would you be ok with #4476 going first and dropping those five hunks here?
Two things I noticed in libSceJson2/Export.cpp while comparing:
Around line 864 the body of Value::clear was replaced, so notifyError is now defined inside it and the file won’t compile.
Array::iterator::operator++(int) returns the iterator by value, so its first argument is the hidden result pointer, then this, then the int (same layout as Array::begin()).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T13:43:17Z.
Windows test of head
d5410a983merged onto currentmain(c6efe068a, clean merge; built together with three other open PRs from the same list, so the numbers below are for the combination): Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, full build 0 errors.The PR changes no test; the build has 0 errors and
guest_kernel_sysandguest_sce_netpass (20 of 20 in the filteraudio_out|guest_directory|guest_dup|guest_kernel_sys|guest_sce_net|guest_file).Build and regression check only. Not checked: that the test fails without the change, Linux, a title run.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T13:51:24Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)sceWebBrowserDialogOpenForPredeterminedContentsceWebBrowserDialogResetCookiesceWebBrowserDialogSetCookiecore/libs/prx/libSceJson2/Export.cppL899-909, L913-927_ZN3sce4Json5Array8iteratoraSERKS2__ZN3sce4Json5Array8iteratorppEisceOpusCeltDecCreateExsceOpusCeltDecDecodesceOpusCeltDecDestroysceOpusCeltDecGetSizesceOpusCeltDecInitializesceOpusCeltDecTerminatecore/libs/prx/libSceAppContent/Export.cppL166-168, L171-173core/libs/prx/libSceJson2/Export.cppL869-870, L874-875, L879-896, L899-901, L904-906, L909-911, L914-916, L919-921, L924-926_ZN3sce4Json12MemAllocator11notifyErrorEimPv_ZN3sce4Json5Array8iteratoraSERKS2__ZN3sce4Json5Array8iteratorppEi_ZN3sce4Json5Value21setNullAccessCallBackEPFRKS1_NS0_9ValueTypeEPS2_PvES6__ZN3sce4Json5Value22setSpecialFloatHandlerEPFKS1_NS0_12FunctionTypeEdPS2_PvPbES5__ZN3sce4Json5Value22setTypeMismatchHandlerEPFRKS1_NS0_9ValueTypeEPS2_S5_PvES6__ZN3sce4Json5Value30setElementAccessFailureHandlerEPFviPKNS0_6StringEPKmPKS1_S8_PvES9__ZN3sce4Json6Object6insertERKNS1_4PairE_ZNK3sce4Json5ValuecvbEvsceAppContentAddcontEnqueueDownloadsceAppContentGetAddcontDownloadProgressImported from boykopovar/AnyPS5. Originally posted by ahmedmakroum on 2026-10-12T22:43:02Z.
Thanks for the quick fix!
Two things left: the iterator constructor and the Pair constructor and destructor are now deleted from the file instead of left as they are on main, so those exports would disappear if this merges first. Could you restore main’s version of them? And operator= and operator++(int) are still edited here, which keeps the conflict with #4476. Leaving those two as on main would remove the overlap completely.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T00:22:26Z.
Closing: the description lists libSceNet, libSceAudioOut and libkernel functions, but the diff changes ten other libraries, leaves a
<<<<<<< HEADmarker inlibSceContentSearch/Export.cpp, and drops the Json2Array::iteratorconstructor and theObject::Pairconstructor and destructor that main exports. The new parameter lists have no source and most of the functions still throw, so no title gets further. Reopen one library at a time, with the title ID and the log line where it stops on main.Pull request closed