UI: Only allow ARM macs to select Metal backend
This commit is contained in:
parent
e82a90993c
commit
3aaeaf3540
@ -120,7 +120,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsMetalAvailable => OperatingSystem.IsMacOS();
|
||||
public bool IsMetalAvailable =>
|
||||
OperatingSystem.IsMacOS() && RuntimeInformation.ProcessArchitecture == Architecture.Arm64;
|
||||
|
||||
public bool IsOpenGLAvailable => !OperatingSystem.IsMacOS();
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
<TextBlock Text="OpenGL" />
|
||||
</ComboBoxItem>
|
||||
<ComboBoxItem IsEnabled="{Binding IsMetalAvailable}">
|
||||
<TextBlock Text="Metal (Experimental)" />
|
||||
<TextBlock Text="Metal (ARM Mac only, Experimental)" />
|
||||
</ComboBoxItem>
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
|
Loading…
x
Reference in New Issue
Block a user