Allow multiple hid shared memory locations
This commit is contained in:
parent
344fc8a55d
commit
73cc30cc80
4 changed files with 132 additions and 125 deletions
|
@ -27,10 +27,16 @@ namespace Ryujinx.Core
|
|||
Ram = Marshal.AllocHGlobal((IntPtr)AMemoryMgr.RamSize);
|
||||
|
||||
Gpu = new NsGpu(Renderer);
|
||||
|
||||
VFs = new VirtualFs();
|
||||
|
||||
Hid = new Hid(this);
|
||||
Os = new Horizon(this);
|
||||
Hid = new Hid(Ram);
|
||||
|
||||
Os = new Horizon(this);
|
||||
|
||||
Os.HidSharedMem.MemoryMapped += Hid.ShMemMap;
|
||||
Os.HidSharedMem.MemoryUnmapped += Hid.ShMemUnmap;
|
||||
|
||||
Settings = new SetSys();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue