rjx-mirror/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-04 23:08:20 +00:00
{
class HSession
{
public IIpcService Service { get; private set; }
2018-02-04 23:08:20 +00:00
public bool IsInitialized { get; private set; }
public int State { get; set; }
public HSession(IIpcService Service)
2018-02-04 23:08:20 +00:00
{
this.Service = Service;
2018-02-04 23:08:20 +00:00
}
public HSession(HSession Session)
{
Service = Session.Service;
2018-02-04 23:08:20 +00:00
IsInitialized = Session.IsInitialized;
}
public void Initialize()
{
IsInitialized = true;
}
}
}