misc: chore: OS + CPU arch helpers

This commit is contained in:
Evan Husted 2025-01-23 16:58:48 -06:00
parent 33079422fe
commit 7829fd8ee7
3 changed files with 26 additions and 4 deletions

View file

@ -736,9 +736,7 @@ namespace Ryujinx.Ava.UI.Windows
});
}
private static bool _intelMacWarningShown = !(OperatingSystem.IsMacOS() &&
(RuntimeInformation.OSArchitecture == Architecture.X64 ||
RuntimeInformation.OSArchitecture == Architecture.X86));
private static bool _intelMacWarningShown = !RunningPlatform.IsIntelMac;
public static async Task ShowIntelMacWarningAsync()
{