mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-07 23:28:38 +00:00
4d93f97408
error at compile time
22 lines
521 B
C#
22 lines
521 B
C#
using Ryujinx.HLE.HOS.Services.Am.AppletAE;
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Applets
|
|
{
|
|
interface IApplet
|
|
{
|
|
event EventHandler AppletStateChanged;
|
|
|
|
ResultCode Start(AppletSession normalSession,
|
|
AppletSession interactiveSession);
|
|
|
|
ResultCode GetResult();
|
|
|
|
static T ReadStruct<T>(ReadOnlySpan<byte> data) where T : unmanaged
|
|
{
|
|
return MemoryMarshal.Cast<byte, T>(data)[0];
|
|
}
|
|
}
|
|
}
|