From af40e9ca6939d8086338f7d979837fe5435012aa Mon Sep 17 00:00:00 2001 From: Celegans12 <53881228+Celegans12@users.noreply.github.com> Date: Mon, 5 Oct 2026 11:20:30 +0200 Subject: [PATCH] feat(usbd): add the libSceUsbd module Titles that list libSceUsbd.prx as a needed module stop in the startup stub with "Failed to load module: libs\libSceUsbd.prx" (GetLastError 126), even when they import no function from it. Add libSceUsbd with an Export.cpp that contains only APS5_DUMMY_FUN, like libkernel_sys, libkernel_web, libSceAgcVsh, libSceAjm and libSceNgs2. The module now loads, exports no sceUsbd function and guesses no signature, so a title that does import one still stops with "FAIL: unresolved ELF import" for that NID. Co-Authored-By: Claude Opus 5.5 --- core/libs/prx/libSceUsbd/Export.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 core/libs/prx/libSceUsbd/Export.cpp diff --git a/core/libs/prx/libSceUsbd/Export.cpp b/core/libs/prx/libSceUsbd/Export.cpp new file mode 100644 index 000000000..fb34206c2 --- /dev/null +++ b/core/libs/prx/libSceUsbd/Export.cpp @@ -0,0 +1,10 @@ +#include +#include +#include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" + +extern "C" { + +APS5_DUMMY_FUN + +}