* nfc/nfp: Implement ISystemManager and ISystem This PR add permission levels for `nfc` and `nfp` services: - `nfc`: `CreateUserInterface` and `CreateSystemInterface` are implemented. - `INfc`: `Initialize` and `IsNfcEnabled` calls are stubbed. - `nfp`: `CreateDebugInterface` and `CreateSystemInterface` are implemented. - `INfp`: `GetRegisterInfo2` for `IDebug` and `ISystem` are implemented. * Addresses gdkchan feedback
17 lines
No EOL
519 B
C#
17 lines
No EOL
519 B
C#
using Ryujinx.Common.Memory;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nfc.Nfp.NfpManager
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Size = 0x40)]
|
|
struct CommonInfo
|
|
{
|
|
public ushort LastWriteYear;
|
|
public byte LastWriteMonth;
|
|
public byte LastWriteDay;
|
|
public ushort WriteCounter;
|
|
public ushort Version;
|
|
public uint ApplicationAreaSize;
|
|
public Array52<byte> Reserved;
|
|
}
|
|
} |