Merge pull request #22512 from hrydgard/inet-select-wait

sceNetInet: Wait in emulated time instead of blocking the host
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-10-27 22:17:24 +01:00
commit 5c84203bbe
7 files changed
+576 -243

No files matched your search

+4
View File
@@ -70,6 +70,7 @@
#include "headless/ReverseEngineer.h"
#include "Core/WebServer.h"
#include "Core/HLE/sceUtility.h"
#include "Core/Instance.h"
#include "Core/SaveState.h"
#include "GPU/GPUCommon.h"
#include "GPU/Common/FramebufferManagerCommon.h"
@@ -1166,6 +1167,9 @@ int main(int argc, const char* argv[]) {
g_Config.bEnableWlan = true;
// The net tests want WLAN on, but a test run shouldn't depend on reaching a real adhoc server.
g_Config.sProAdhocServer = "localhost";
// Headless doesn't join the app's instance counter (InitInstanceCounter), but behaves as the only
// instance: with the default 0, the localhost IP derived from it is 127.0.0.0, which macOS won't bind.
PPSSPP_ID = 1;
g_Config.sMACAddress = "12:34:56:78:9A:BC";
g_Config.iFirmwareVersion = PSP_DEFAULT_FIRMWARE;
g_Config.iPSPModel = PSP_MODEL_SLIM;