misc: chore: Fix object creation in Horizon

This commit is contained in:
Evan Husted
2025-01-26 15:19:33 -06:00
parent 5fad450027
commit 742083ae3d
9 changed files with 14 additions and 14 deletions
@@ -64,7 +64,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;
}
@@ -34,7 +34,7 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
IVirtualMemoryManager 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 AudioRenderSystem renderSystem,
clientMemoryManager,
ref parameter.Configuration,
@@ -99,7 +99,7 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
{
IVirtualMemoryManager clientMemoryManager = HorizonStatic.Syscall.GetMemoryManagerByProcessHandle(processHandle);
Result result = new Result((int)_impl.OpenAudioRenderer(
Result result = new((int)_impl.OpenAudioRenderer(
out AudioRenderSystem renderSystem,
clientMemoryManager,
ref parameter.Configuration,