ARMeilleure: Implement TPIDR2_EL0 #280

Merged
LukeWarnut merged 2 commits from TPIDR2_EL0 into master 2024-11-19 19:02:25 +00:00
Showing only changes of commit d1c9eb25aa - Show all commits

View File

@ -101,13 +101,13 @@ namespace Ryujinx.UI.Common.Helper
{
RegistryKey key = Registry.CurrentUser.OpenSubKey(@$"Software\Classes\{ext}");
if (key is null)
var openCmd = key?.OpenSubKey(@"shell\open\command");
if (openCmd is null)
{
return false;
}
var openCmd = key.OpenSubKey(@"shell\open\command");
string keyValue = (string)openCmd.GetValue(string.Empty);
return keyValue is not null && (keyValue.Contains("Ryujinx") || keyValue.Contains(AppDomain.CurrentDomain.FriendlyName));