mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Update Nacp.cs
Fix wrong field who is UserAccountSwitchLock @0x3026 according to https://switchbrew.org/wiki/NACP_Format
This commit is contained in:
parent
b361567977
commit
0f110cf7e8
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ namespace LibHac
|
||||||
public NacpDescription[] Descriptions { get; } = new NacpDescription[0x10];
|
public NacpDescription[] Descriptions { get; } = new NacpDescription[0x10];
|
||||||
public string Isbn { get; }
|
public string Isbn { get; }
|
||||||
public byte StartupUserAccount { get; }
|
public byte StartupUserAccount { get; }
|
||||||
public byte TouchScreenUsageMode { get; }
|
public byte UserAccountSwitchLock { get; }
|
||||||
public byte AocRegistrationType { get; }
|
public byte AocRegistrationType { get; }
|
||||||
public int AttributeFlag { get; }
|
public int AttributeFlag { get; }
|
||||||
public uint SupportedLanguageFlag { get; }
|
public uint SupportedLanguageFlag { get; }
|
||||||
|
@ -74,7 +74,7 @@ namespace LibHac
|
||||||
Isbn = reader.ReadUtf8Z(37);
|
Isbn = reader.ReadUtf8Z(37);
|
||||||
reader.BaseStream.Position = start + 0x3025;
|
reader.BaseStream.Position = start + 0x3025;
|
||||||
StartupUserAccount = reader.ReadByte();
|
StartupUserAccount = reader.ReadByte();
|
||||||
TouchScreenUsageMode = reader.ReadByte();
|
UserAccountSwitchLock = reader.ReadByte();
|
||||||
AocRegistrationType = reader.ReadByte();
|
AocRegistrationType = reader.ReadByte();
|
||||||
AttributeFlag = reader.ReadInt32();
|
AttributeFlag = reader.ReadInt32();
|
||||||
SupportedLanguageFlag = reader.ReadUInt32();
|
SupportedLanguageFlag = reader.ReadUInt32();
|
||||||
|
|
Loading…
Reference in a new issue