mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
sceNetCtlGetResult threw for every event after its initialization and address checks, and Worms Armageddon: Anniversary Edition (PPSA20052) and Monster Hunter Wilds (PPSA24191) stop on it at boot; MHW's first call asks about event 1, a disconnection. It now answers as sceNetCtlGetResultV6 does: for event types 1 to 3, disconnected to IP obtained (the numbers sceNetCtlCheckCallback delivers), it writes 0 to the result and returns 0. Other event types throw, naming the type. The initialization and null checks come first, as before. The error code a console reports per event is unconfirmed, which the library's debt page now records. The guest NetCtl test covers each supported event, three unsupported ones with the new message and the result left untouched, and a null result answered before the event is looked at.