Ryujinx/Ryujinx.Core/OsHle/Handles/HSession.cs

29 lines
613 B
C#
Raw Normal View History

using Ryujinx.Core.OsHle.IpcServices;
namespace Ryujinx.Core.OsHle.Handles
2018-02-05 00:08:20 +01:00
{
class HSession
{
public IIpcService Service { get; private set; }
2018-02-05 00:08:20 +01:00
public bool IsInitialized { get; private set; }
public int State { get; set; }
public HSession(IIpcService Service)
2018-02-05 00:08:20 +01:00
{
this.Service = Service;
2018-02-05 00:08:20 +01:00
}
public HSession(HSession Session)
{
Service = Session.Service;
2018-02-05 00:08:20 +01:00
IsInitialized = Session.IsInitialized;
}
public void Initialize()
{
IsInitialized = true;
}
}
}