mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-03 21:42:56 -06:00
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
21 lines
414 B
C#
21 lines
414 B
C#
using Ryujinx.Horizon.Sdk.Sm;
|
|
|
|
namespace Ryujinx.Horizon.Sm.Impl
|
|
{
|
|
struct ServiceInfo
|
|
{
|
|
public ServiceName Name;
|
|
public ulong OwnerProcessId;
|
|
public int PortHandle;
|
|
|
|
public void Free()
|
|
{
|
|
HorizonStatic.Syscall.CloseHandle(PortHandle);
|
|
|
|
Name = ServiceName.Invalid;
|
|
OwnerProcessId = 0L;
|
|
PortHandle = 0;
|
|
}
|
|
}
|
|
}
|