Update Nacp.cs

Fix wrong field who is UserAccountSwitchLock @0x3026 according to https://switchbrew.org/wiki/NACP_Format
This commit is contained in:
Ac_K 2019-06-14 06:33:08 +02:00 committed by Alex Barney
parent b361567977
commit 0f110cf7e8

View file

@ -8,7 +8,7 @@ namespace LibHac
public NacpDescription[] Descriptions { get; } = new NacpDescription[0x10];
public string Isbn { get; }
public byte StartupUserAccount { get; }
public byte TouchScreenUsageMode { get; }
public byte UserAccountSwitchLock { get; }
public byte AocRegistrationType { get; }
public int AttributeFlag { get; }
public uint SupportedLanguageFlag { get; }
@ -74,7 +74,7 @@ namespace LibHac
Isbn = reader.ReadUtf8Z(37);
reader.BaseStream.Position = start + 0x3025;
StartupUserAccount = reader.ReadByte();
TouchScreenUsageMode = reader.ReadByte();
UserAccountSwitchLock = reader.ReadByte();
AocRegistrationType = reader.ReadByte();
AttributeFlag = reader.ReadInt32();
SupportedLanguageFlag = reader.ReadUInt32();