From 1da23507c47772eb39a9900d47f691714b5c46e2 Mon Sep 17 00:00:00 2001 From: AdamN <7974720+anr2me@users.noreply.github.com> Date: Thu, 9 Jan 2025 13:31:45 +0700 Subject: [PATCH] Allow Adhocctl to be initialized even when WLAN is disabled --- Core/HLE/sceNetAdhoc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Core/HLE/sceNetAdhoc.cpp b/Core/HLE/sceNetAdhoc.cpp index 23633cb292..f0f3e811cf 100644 --- a/Core/HLE/sceNetAdhoc.cpp +++ b/Core/HLE/sceNetAdhoc.cpp @@ -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?