mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 18:48:51 +02:00
misc: chore: Fix object creation
This commit is contained in:
@@ -63,7 +63,7 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
|
||||
using MemoryHandle outputHandle = output.Pin();
|
||||
using MemoryHandle performanceOutputHandle = performanceOutput.Pin();
|
||||
|
||||
Result result = new Result((int)_renderSystem.Update(output, performanceOutput, input));
|
||||
Result result = new((int)_renderSystem.Update(output, performanceOutput, input));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
|
||||
var clientMemoryManager = HorizonStatic.Syscall.GetMemoryManagerByProcessHandle(processHandle);
|
||||
ulong workBufferAddress = HorizonStatic.Syscall.GetTransferMemoryAddress(workBufferHandle);
|
||||
|
||||
Result result = new Result((int)_impl.OpenAudioRenderer(
|
||||
Result result = new((int)_impl.OpenAudioRenderer(
|
||||
out var renderSystem,
|
||||
clientMemoryManager,
|
||||
ref parameter.Configuration,
|
||||
@@ -98,7 +98,7 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
|
||||
{
|
||||
var clientMemoryManager = HorizonStatic.Syscall.GetMemoryManagerByProcessHandle(processHandle);
|
||||
|
||||
Result result = new Result((int)_impl.OpenAudioRenderer(
|
||||
Result result = new((int)_impl.OpenAudioRenderer(
|
||||
out var renderSystem,
|
||||
clientMemoryManager,
|
||||
ref parameter.Configuration,
|
||||
|
||||
Reference in New Issue
Block a user