Move kernel state out of the Horizon class (#1107)

* Move kernel state from Horizon to KernelContext

* Merge syscalls partial classes, split 32 and 64-bit variants

* Sort usings
This commit is contained in:
gdkchan
2020-05-04 00:41:29 -03:00
committed by GitHub
parent cd48576f58
commit 15d1cc806b
68 changed files with 3678 additions and 3570 deletions

View File

@ -7,10 +7,10 @@ namespace Ryujinx.HLE.HOS.Kernel.Ipc
public KLightServerSession ServerSession { get; }
public KLightClientSession ClientSession { get; }
public KLightSession(Horizon system) : base(system)
public KLightSession(KernelContext context) : base(context)
{
ServerSession = new KLightServerSession(system, this);
ClientSession = new KLightClientSession(system, this);
ServerSession = new KLightServerSession(context, this);
ClientSession = new KLightClientSession(context, this);
}
}
}