mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-28 03:40:50 +01:00
Fix debug assert on services without pointer buffer (#5599)
This commit is contained in:
parent
153b8bfc7c
commit
3e5c211394
@ -31,7 +31,10 @@ namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
||||
|
||||
if (allocator != null)
|
||||
{
|
||||
_pointerBuffersBaseAddress = allocator.Allocate((ulong)maxSessions * (ulong)options.PointerBufferSize);
|
||||
if (options.PointerBufferSize != 0)
|
||||
{
|
||||
_pointerBuffersBaseAddress = allocator.Allocate((ulong)maxSessions * (ulong)options.PointerBufferSize);
|
||||
}
|
||||
|
||||
if (options.CanDeferInvokeRequest)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user