From ab2aaf95be7fc2ef2f9c3ffe6bf7de9aa4b92acd Mon Sep 17 00:00:00 2001 From: Aliet Exposito Garcia Date: Sun, 13 Sep 2026 13:33:16 -0400 Subject: [PATCH] fix(runtime): fix compilation failure when netplay is disabled When `PSX_NETPLAY` is turned off, the build fails because `ae_np_account_sync` is referenced without being declared in that configuration. This issue caused automated continuous integration pipelines and local builds to fail unless netplay was explicitly forced on. Wrapping this function call ensures that the runtime compiles cleanly for projects that do not require netplay support, restoring the ability to build with netplay disabled. --- runtime/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 7ce17301..4f9b2eed 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp @@ -10396,7 +10396,9 @@ namespace { ae_np_save_identity(nullptr, g_lnch_lobby_url.c_str()); /* The auth endpoints live on the same host and port as the lobby * socket, so the sign-in follows whatever server the player points at. */ - ae_np_account_sync(); + #if defined(PSX_HAS_RECOMP_NET) + ae_np_account_sync(); + #endif } int ae_np_connect(void*) {