From cf238acea986b8e2e66bcd582b7af727b8b040fe Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Tue, 28 Apr 2026 19:06:43 +0300 Subject: [PATCH] fixed truncate of request_id data (#4330) --- src/core/libraries/np/np_web_api_internal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/libraries/np/np_web_api_internal.cpp b/src/core/libraries/np/np_web_api_internal.cpp index eb80d137f..4f4fdc45d 100644 --- a/src/core/libraries/np/np_web_api_internal.cpp +++ b/src/core/libraries/np/np_web_api_internal.cpp @@ -452,7 +452,7 @@ s32 createRequest(s32 titleUserCtxId, const char* pApiGroup, const char* pPath, } s64 user_ctx_id = static_cast(titleUserCtxId); - s32 request_id = (user_ctx_id << 0x20) | g_request_count; + s64 request_id = (user_ctx_id << 0x20) | g_request_count; while (user_context->requests.contains(request_id)) { request_id--; }