mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-02 03:17:09 +02:00
Allow more than one process, free resources on process dispose, implement SvcExitThread
This commit is contained in:
parent
e38d20eeb0
commit
1b5df0a34d
46 changed files with 926 additions and 598 deletions
|
@ -9,13 +9,13 @@ namespace Ryujinx.Core.OsHle.IpcServices
|
|||
{
|
||||
if (Context.Session is HDomain Dom)
|
||||
{
|
||||
Context.Response.ResponseObjIds.Add(Dom.GenerateObjectId(Obj));
|
||||
Context.Response.ResponseObjIds.Add(Dom.Add(Obj));
|
||||
}
|
||||
else
|
||||
{
|
||||
HSessionObj HndData = new HSessionObj(Context.Session, Obj);
|
||||
|
||||
int VHandle = Context.Ns.Os.Handles.GenerateId(HndData);
|
||||
int VHandle = Context.Process.HandleTable.OpenHandle(HndData);
|
||||
|
||||
Context.Response.HandleDesc = IpcHandleDesc.MakeMove(VHandle);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue