mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 10:41:41 +00:00
55e0c71489
* 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
16 lines
No EOL
458 B
C#
16 lines
No EOL
458 B
C#
using Ryujinx.Common.Memory;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nfc.Nfp.NfpManager
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Size = 0x40)]
|
|
struct ModelInfo
|
|
{
|
|
public ushort CharacterId;
|
|
public byte CharacterVariant;
|
|
public byte Series;
|
|
public ushort ModelNumber;
|
|
public byte Type;
|
|
public Array57<byte> Reserved;
|
|
}
|
|
} |