fixed truncate of request_id data (#4330)

This commit is contained in:
georgemoralis 2026-04-28 19:06:43 +03:00 committed by GitHub
parent d47b0524ce
commit cf238acea9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -452,7 +452,7 @@ s32 createRequest(s32 titleUserCtxId, const char* pApiGroup, const char* pPath,
}
s64 user_ctx_id = static_cast<s64>(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--;
}