mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-29 14:17:11 +02:00
misc: chore: Fix object creation in Horizon
This commit is contained in:
parent
5fad450027
commit
742083ae3d
9 changed files with 14 additions and 14 deletions
|
@ -22,7 +22,7 @@ namespace Ryujinx.Horizon.Bcat.Ipc
|
|||
[CmifCommand(0)]
|
||||
public Result CreateFileService(out IDeliveryCacheFileService service)
|
||||
{
|
||||
using SharedRef<LibHac.Bcat.Impl.Ipc.IDeliveryCacheFileService> libHacService = new SharedRef<LibHac.Bcat.Impl.Ipc.IDeliveryCacheFileService>();
|
||||
using SharedRef<LibHac.Bcat.Impl.Ipc.IDeliveryCacheFileService> libHacService = new();
|
||||
|
||||
LibHac.Result resultCode = _libHacService.Get.CreateFileService(ref libHacService.Ref);
|
||||
|
||||
|
@ -41,7 +41,7 @@ namespace Ryujinx.Horizon.Bcat.Ipc
|
|||
[CmifCommand(1)]
|
||||
public Result CreateDirectoryService(out IDeliveryCacheDirectoryService service)
|
||||
{
|
||||
using SharedRef<LibHac.Bcat.Impl.Ipc.IDeliveryCacheDirectoryService> libHacService = new SharedRef<LibHac.Bcat.Impl.Ipc.IDeliveryCacheDirectoryService>();
|
||||
using SharedRef<LibHac.Bcat.Impl.Ipc.IDeliveryCacheDirectoryService> libHacService = new();
|
||||
|
||||
LibHac.Result resultCode = _libHacService.Get.CreateDirectoryService(ref libHacService.Ref);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue