mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-28 04:51:21 -08:00
29 lines
613 B
C#
29 lines
613 B
C#
using Ryujinx.Core.OsHle.IpcServices;
|
|
|
|
namespace Ryujinx.Core.OsHle.Handles
|
|
{
|
|
class HSession
|
|
{
|
|
public IIpcService Service { get; private set; }
|
|
|
|
public bool IsInitialized { get; private set; }
|
|
|
|
public int State { get; set; }
|
|
|
|
public HSession(IIpcService Service)
|
|
{
|
|
this.Service = Service;
|
|
}
|
|
|
|
public HSession(HSession Session)
|
|
{
|
|
Service = Session.Service;
|
|
IsInitialized = Session.IsInitialized;
|
|
}
|
|
|
|
public void Initialize()
|
|
{
|
|
IsInitialized = true;
|
|
}
|
|
}
|
|
} |