diff options
Diffstat (limited to 'Ryujinx/Ui')
-rw-r--r-- | Ryujinx/Ui/Helper/SortHelper.cs | 12 | ||||
-rw-r--r-- | Ryujinx/Ui/MainWindow.cs | 4 | ||||
-rw-r--r-- | Ryujinx/Ui/Windows/SettingsWindow.glade | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/Ryujinx/Ui/Helper/SortHelper.cs b/Ryujinx/Ui/Helper/SortHelper.cs index 78917fe7..33ae1bb2 100644 --- a/Ryujinx/Ui/Helper/SortHelper.cs +++ b/Ryujinx/Ui/Helper/SortHelper.cs @@ -81,22 +81,22 @@ namespace Ryujinx.Ui.Helper string aValue = model.GetValue(a, 8).ToString(); string bValue = model.GetValue(b, 8).ToString(); - if (aValue[^2..] == "GB") + if (aValue[^3..] == "GiB") { - aValue = (float.Parse(aValue[0..^2]) * 1024).ToString(); + aValue = (float.Parse(aValue[0..^3]) * 1024).ToString(); } else { - aValue = aValue[0..^2]; + aValue = aValue[0..^3]; } - if (bValue[^2..] == "GB") + if (bValue[^3..] == "GiB") { - bValue = (float.Parse(bValue[0..^2]) * 1024).ToString(); + bValue = (float.Parse(bValue[0..^3]) * 1024).ToString(); } else { - bValue = bValue[0..^2]; + bValue = bValue[0..^3]; } if (float.Parse(aValue) > float.Parse(bValue)) diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index 7b8b6a98..802a86ec 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -549,8 +549,8 @@ namespace Ryujinx.Ui } var memoryConfiguration = ConfigurationState.Instance.System.ExpandRam.Value - ? HLE.MemoryConfiguration.MemoryConfiguration6GB - : HLE.MemoryConfiguration.MemoryConfiguration4GB; + ? HLE.MemoryConfiguration.MemoryConfiguration6GiB + : HLE.MemoryConfiguration.MemoryConfiguration4GiB; IntegrityCheckLevel fsIntegrityCheckLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks ? IntegrityCheckLevel.ErrorOnInvalid : IntegrityCheckLevel.None; diff --git a/Ryujinx/Ui/Windows/SettingsWindow.glade b/Ryujinx/Ui/Windows/SettingsWindow.glade index 88e6dae5..c2ffe5b1 100644 --- a/Ryujinx/Ui/Windows/SettingsWindow.glade +++ b/Ryujinx/Ui/Windows/SettingsWindow.glade @@ -1749,11 +1749,11 @@ <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="_expandRamToggle"> - <property name="label" translatable="yes">Expand DRAM Size to 6GB</property> + <property name="label" translatable="yes">Expand DRAM Size to 6GiB</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">False</property> - <property name="tooltip-text" translatable="yes">Increases the amount of memory on the emulated system from 4GB to 6GB. This is only useful for higher-resolution texture packs or 4k resolution mods. Does NOT improve performance. Leave OFF if unsure.</property> + <property name="tooltip-text" translatable="yes">Increases the amount of memory on the emulated system from 4GiB to 6GiB. This is only useful for higher-resolution texture packs or 4k resolution mods. Does NOT improve performance. Leave OFF if unsure.</property> <property name="halign">start</property> <property name="margin-top">5</property> <property name="margin-bottom">5</property> |