aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/UI/Views
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-01-29 08:37:52 -0300
committerGitHub <noreply@github.com>2023-01-29 08:37:52 -0300
commita53cfdab78c382677eb826bd5bedb58b3b838796 (patch)
tree74443a950127d61abb6ecd9f840c03886b223ce1 /Ryujinx.Ava/UI/Views
parentc7f9962ddee502030e790a0bfc0f949eaf5910c7 (diff)
Initial Apple Hypervisor based CPU emulation (#4332)
* Initial Apple Hypervisor based CPU emulation implementation * Add UseHypervisor Setting * Add basic MacOS support to Avalonia * Fix initialization * Fix GTK build * Fix/silence warnings * Change exceptions to asserts on HvAddressSpaceRange * Replace DllImport with LibraryImport * Fix LibraryImport * Remove unneeded usings * Revert outdated change * Set DiskCacheLoadState when using hypervisor too * Fix HvExecutionContext PC value * Address PR feedback * Use existing entitlements.xml file on distribution folder --------- Co-authored-by: riperiperi <rhy3756547@hotmail.com>
Diffstat (limited to 'Ryujinx.Ava/UI/Views')
-rw-r--r--Ryujinx.Ava/UI/Views/Settings/SettingsCPUView.axaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/Ryujinx.Ava/UI/Views/Settings/SettingsCPUView.axaml b/Ryujinx.Ava/UI/Views/Settings/SettingsCPUView.axaml
index a0cf3452..e98b963c 100644
--- a/Ryujinx.Ava/UI/Views/Settings/SettingsCPUView.axaml
+++ b/Ryujinx.Ava/UI/Views/Settings/SettingsCPUView.axaml
@@ -1,4 +1,4 @@
-<UserControl
+<UserControl
x:Class="Ryujinx.Ava.UI.Views.Settings.SettingsCPUView"
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -65,8 +65,14 @@
</ComboBoxItem>
</ComboBox>
</StackPanel>
+ <CheckBox IsChecked="{Binding UseHypervisor}"
+ IsVisible="{Binding IsHypervisorAvailable}"
+ ToolTip.Tip="{locale:Locale UseHypervisorTooltip}">
+ <TextBlock Text="{locale:Locale SettingsTabSystemUseHypervisor}"
+ ToolTip.Tip="{locale:Locale UseHypervisorTooltip}" />
+ </CheckBox>
</StackPanel>
</StackPanel>
</Border>
</ScrollViewer>
-</UserControl> \ No newline at end of file
+</UserControl>