1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-23 21:06:02 +00:00

Fix debug assert on services without pointer buffer (#5599)

This commit is contained in:
gdkchan 2023-08-19 15:16:59 -03:00 committed by GitHub
parent 153b8bfc7c
commit 3e5c211394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,11 @@ namespace Ryujinx.Horizon.Sdk.Sf.Hipc
_maxSessions = maxSessions;
if (allocator != null)
{
if (options.PointerBufferSize != 0)
{
_pointerBuffersBaseAddress = allocator.Allocate((ulong)maxSessions * (ulong)options.PointerBufferSize);
}
if (options.CanDeferInvokeRequest)
{