UI: Only show Amiibo bin scan menu item if the key file exists

This commit is contained in:
Evan Husted
2024-12-20 18:52:10 -06:00
committed by KeatonTheBot
parent 9b5151dddb
commit 87067b5b32
4 changed files with 8 additions and 5 deletions
@@ -333,10 +333,9 @@ namespace Ryujinx.HLE.HOS.Services.Nfc.AmiiboDecryption
return Path.Combine(AppDataManager.KeysDirPath, "key_retail.bin");
}
public static bool HasKeyRetailBinPath()
{
return File.Exists(GetKeyRetailBinPath());
}
public static bool HasKeyRetailBinPath => File.Exists(GetKeyRetailBinPath());
public static DateTime DateTimeFromTag(ushort value)
{
try