Skip to content

Commit

Permalink
Merge pull request hrydgard#19834 from ANR2MERefork/adhocctl
Browse files Browse the repository at this point in the history
[Adhoc] Allow Adhocctl to be initialized even when WLAN is disabled
  • Loading branch information
hrydgard authored Jan 9, 2025
2 parents a19523a + 1da2350 commit e863234
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Core/HLE/sceNetAdhoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1274,9 +1274,6 @@ u32 sceNetAdhocInit() {

int sceNetAdhocctlInit(int stackSize, int prio, u32 productAddr) {
INFO_LOG(Log::sceNet, "sceNetAdhocctlInit(%i, %i, %08x) at %08x", stackSize, prio, productAddr, currentMIPS->pc);
if (!g_Config.bEnableWlan) {
return -1;
}

// FIXME: Returning 0x8002013a (SCE_KERNEL_ERROR_LIBRARY_NOT_YET_LINKED) without adhoc module loaded first?
// FIXME: Sometimes returning 0x80410601 (ERROR_NET_ADHOC_AUTH_ALREADY_INITIALIZED / Library module is already initialized ?) when AdhocctlTerm is not fully done?
Expand Down

0 comments on commit e863234

Please sign in to comment.