misc: chore: Fix object creation in HLE project

This commit is contained in:
Evan Husted 2025-01-26 15:15:26 -06:00
parent f1fd5c9366
commit beab133c8d
48 changed files with 194 additions and 194 deletions

View file

@ -154,11 +154,11 @@ namespace Ryujinx.HLE.HOS
timePageList.AddRange(timePa, TimeSize / KPageTableBase.PageSize);
appletCaptureBufferPageList.AddRange(appletCaptureBufferPa, AppletCaptureBufferSize / KPageTableBase.PageSize);
SharedMemoryStorage hidStorage = new SharedMemoryStorage(KernelContext, hidPageList);
SharedMemoryStorage fontStorage = new SharedMemoryStorage(KernelContext, fontPageList);
SharedMemoryStorage iirsStorage = new SharedMemoryStorage(KernelContext, iirsPageList);
SharedMemoryStorage timeStorage = new SharedMemoryStorage(KernelContext, timePageList);
SharedMemoryStorage appletCaptureBufferStorage = new SharedMemoryStorage(KernelContext, appletCaptureBufferPageList);
SharedMemoryStorage hidStorage = new(KernelContext, hidPageList);
SharedMemoryStorage fontStorage = new(KernelContext, fontPageList);
SharedMemoryStorage iirsStorage = new(KernelContext, iirsPageList);
SharedMemoryStorage timeStorage = new(KernelContext, timePageList);
SharedMemoryStorage appletCaptureBufferStorage = new(KernelContext, appletCaptureBufferPageList);
HidStorage = hidStorage;
@ -304,7 +304,7 @@ namespace Ryujinx.HLE.HOS
public bool LoadKip(string kipPath)
{
using SharedRef<IStorage> kipFile = new SharedRef<IStorage>(new LocalStorage(kipPath, FileAccess.Read));
using SharedRef<IStorage> kipFile = new(new LocalStorage(kipPath, FileAccess.Read));
return ProcessLoaderHelper.LoadKip(KernelContext, new KipExecutable(in kipFile));
}