Files
AnyPS5/docs/dev
Yunus Shaikhandrooklz 0a4d4e792c fix(libSceNet): answer sceNetConfigGetDefaultRoute as the module does
rooklz read sceNetConfigGetDefaultRoute (NID lFJb+BlPK1c, wrapper at
0x153f0) in libSceNet.sprx. Before sceNetInit it returns 0x804101C8
with errno 200. Without a default route it returns 0x8041130C and
leaves the output alone. With one it stores the route and returns 1,
not 0. The wrapper never checks the output pointer.

The not-initialized answer reads the library's sceNetInit/sceNetTerm
flag through fail(), as the other exports do. The route is still the
host gateway. A null output with a route throws std::invalid_argument,
where the module faults.

Co-authored-by: rooklz <[email protected]>
2026-11-01 23:21:53 +00:00
..