diff --git a/src/core/libraries/np/np_web_api_internal.cpp b/src/core/libraries/np/np_web_api_internal.cpp index 4f4fdc45d..2c85cd74d 100644 --- a/src/core/libraries/np/np_web_api_internal.cpp +++ b/src/core/libraries/np/np_web_api_internal.cpp @@ -457,7 +457,7 @@ s32 createRequest(s32 titleUserCtxId, const char* pApiGroup, const char* pPath, request_id--; } // Real library would hang if this assert fails. - ASSERT_MSG(request_id <= (user_ctx_id << 0x20), "Too many requests!"); + ASSERT_MSG(request_id > (user_ctx_id << 0x20), "Too many requests!"); user_context->requests[request_id] = new OrbisNpWebApiRequest{}; auto& request = user_context->requests[request_id]; @@ -1531,4 +1531,4 @@ s32 PS4_SYSV_ABI readDataInternal(s64 requestId, void* pData, u64 size) { return result; } -}; // namespace Libraries::Np::NpWebApi \ No newline at end of file +}; // namespace Libraries::Np::NpWebApi