use a helper to get key path instead of checking mode & userpath existing every time

This commit is contained in:
GreemDev
2025-12-08 00:26:45 -06:00
parent bf62531802
commit 6ee7957574
7 changed files with 23 additions and 38 deletions

View File

@@ -334,7 +334,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfc.AmiiboDecryption
private static string GetKeyRetailBinPath()
{
return Path.Combine(AppDataManager.KeysDirPath, "key_retail.bin");
return Path.Combine(AppDataManager.GetKeysDir(), "key_retail.bin");
}
public static bool HasAmiiboKeyFile => File.Exists(GetKeyRetailBinPath());