mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-27 04:41:21 -08:00
550747eac6
* Horizon: Impl Prepo, Fixes bugs, Clean things * remove ToArray() * resultCode > status * Remove old services * Addresses gdkchan's comments and more cleanup * Addresses Gdkchan's feedback 2 * Reorganize services, make sure service are loaded before guest Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * Create interfaces for lm and sm Co-authored-by: gdkchan <5624669+gdkchan@users.noreply.github.com>
24 lines
886 B
C#
24 lines
886 B
C#
using Ryujinx.Horizon.Sdk.OsTypes;
|
|
using Ryujinx.Horizon.Sdk.Sf.Cmif;
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
|
{
|
|
class ServerSession : MultiWaitHolderOfHandle
|
|
{
|
|
public ServiceObjectHolder ServiceObjectHolder { get; set; }
|
|
public PointerAndSize PointerBuffer { get; set; }
|
|
public PointerAndSize SavedMessage { get; set; }
|
|
public int SessionIndex { get; }
|
|
public int SessionHandle { get; }
|
|
public bool IsClosed { get; set; }
|
|
public bool HasReceived { get; set; }
|
|
|
|
public ServerSession(int index, int handle, ServiceObjectHolder obj) : base(handle)
|
|
{
|
|
ServiceObjectHolder = obj;
|
|
SessionIndex = index;
|
|
SessionHandle = handle;
|
|
}
|
|
}
|
|
}
|