mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 04:36:23 +02:00
misc: chore: Fix object creation in HLE project
This commit is contained in:
parent
f1fd5c9366
commit
beab133c8d
48 changed files with 194 additions and 194 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue