mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Merge pull request #3 from CaitSith2/master
hactool uses both comma AND equal for seperators on all key sets.
This commit is contained in:
commit
dce63507d1
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ namespace libhac
|
||||||
string line;
|
string line;
|
||||||
while ((line = reader.ReadLine()) != null)
|
while ((line = reader.ReadLine()) != null)
|
||||||
{
|
{
|
||||||
var a = line.Split('=');
|
var a = line.Split(',', '=');
|
||||||
if (a.Length != 2) continue;
|
if (a.Length != 2) continue;
|
||||||
|
|
||||||
var key = a[0].Trim();
|
var key = a[0].Trim();
|
||||||
|
@ -144,7 +144,7 @@ namespace libhac
|
||||||
string line;
|
string line;
|
||||||
while ((line = reader.ReadLine()) != null)
|
while ((line = reader.ReadLine()) != null)
|
||||||
{
|
{
|
||||||
var a = line.Split(',');
|
var a = line.Split(',', '=');
|
||||||
if (a.Length != 2) continue;
|
if (a.Length != 2) continue;
|
||||||
|
|
||||||
var rightsId = a[0].Trim().ToBytes();
|
var rightsId = a[0].Trim().ToBytes();
|
||||||
|
|
Loading…
Reference in a new issue