mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-09 19:23:18 -06:00
Fix assert (#4002)
Just a typical day of me pushing something a month ago, nobody testing/reviewing it, then finding out it's broken when that code inevitably makes it into production.
This commit is contained in:
parent
1dc45ab6b3
commit
88cdfb4b1f
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user