Skip to content

Commit 6448bf4

Browse files
authored
Update Extensions/TkSharp.Extensions.LibHac/Util/TkKeyUtils.cs
1 parent f055cfb commit 6448bf4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Extensions/TkSharp.Extensions.LibHac/Util/TkKeyUtils.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ public static bool TryGetKeys(string? sdCardRootPath, [MaybeNullWhen(false)] out
4444
ExternalKeyReader.ReadKeyFile(keys, titleKeysFilename: titleKeysFile, prodKeysFilename: keysFile);
4545
return keys;
4646
}
47-
else {
48-
KeySet keys = new();
49-
ExternalKeyReader.ReadKeyFile(keys, prodKeysFilename: keysFile);
50-
return keys;
51-
}
47+
48+
KeySet keys = new();
49+
ExternalKeyReader.ReadKeyFile(keys, prodKeysFilename: keysFile);
50+
return keys;
5251
}
5352

5453
private static KeySet? GetKeys(string sdCardRootPath)

0 commit comments

Comments
 (0)