format fixed

This commit is contained in:
zzpong 2020-03-01 16:13:39 +08:00 committed by GitHub
parent dab1d0ab82
commit 156a8634a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ namespace XCI_Explorer
where x.Length > 1
select x).ToDictionary((string[] x) => x[0].Trim(), (string[] x) => x[1]);
Mkey = "master_key_";
string MkeyL = "master_key_";
string MkeyL = "master_key_";
if (NCA.NCA_Headers[0].MasterKeyRev == 0 || NCA.NCA_Headers[0].MasterKeyRev == 1)
{
Mkey += "00";
@ -659,9 +659,9 @@ namespace XCI_Explorer
}
TB_MKeyRev.Text = "MasterKey" + MasterKey;
}
else
{
int keyvalue;
else
{
int keyvalue;
char masterkeychar = MasterKey[2];
if (masterkeychar - 'A' < 0)
@ -674,8 +674,8 @@ namespace XCI_Explorer
}
MasterKey = Util.GetMkey((byte)keyvalue);
TB_MKeyRev.Text = MasterKey;
}
TB_MKeyRev.Text = MasterKey;
}
break;
}