mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-30 19:04:28 +01: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;
|
|
}
|
|
}
|
|
} |