diff options
author | gdkchan <gab.dark.100@gmail.com> | 2024-09-17 15:09:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 15:09:20 -0300 |
commit | cf77c011e4f90efd93509c3852350c48f2597344 (patch) | |
tree | c9d1719327119ba9f4e0be7336bc6666063826d2 | |
parent | cd74ae1bbd491987d983bfff36545451e2e6764c (diff) |
Change 6GB DRAM expansion to 8GB (#7313)1.1.1389
* Change 6GB DRAM expansion to 8GB
* Update texts and tooltips
-rw-r--r-- | src/Ryujinx.Gtk3/UI/MainWindow.cs | 2 | ||||
-rw-r--r-- | src/Ryujinx.HLE/HOS/Kernel/Common/KSystemControl.cs | 8 | ||||
-rw-r--r-- | src/Ryujinx.Headless.SDL2/Options.cs | 2 | ||||
-rw-r--r-- | src/Ryujinx.Headless.SDL2/Program.cs | 2 | ||||
-rw-r--r-- | src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs | 2 | ||||
-rw-r--r-- | src/Ryujinx/AppHost.cs | 2 | ||||
-rw-r--r-- | src/Ryujinx/Assets/Locales/en_US.json | 4 |
7 files changed, 11 insertions, 11 deletions
diff --git a/src/Ryujinx.Gtk3/UI/MainWindow.cs b/src/Ryujinx.Gtk3/UI/MainWindow.cs index 66c0afae0..b10dfe3f9 100644 --- a/src/Ryujinx.Gtk3/UI/MainWindow.cs +++ b/src/Ryujinx.Gtk3/UI/MainWindow.cs | |||
@@ -647,7 +647,7 @@ namespace Ryujinx.UI | |||
647 | } | 647 | } |
648 | 648 | ||
649 | var memoryConfiguration = ConfigurationState.Instance.System.ExpandRam.Value | 649 | var memoryConfiguration = ConfigurationState.Instance.System.ExpandRam.Value |
650 | ? HLE.MemoryConfiguration.MemoryConfiguration6GiB | 650 | ? HLE.MemoryConfiguration.MemoryConfiguration8GiB |
651 | : HLE.MemoryConfiguration.MemoryConfiguration4GiB; | 651 | : HLE.MemoryConfiguration.MemoryConfiguration4GiB; |
652 | 652 | ||
653 | IntegrityCheckLevel fsIntegrityCheckLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks ? IntegrityCheckLevel.ErrorOnInvalid : IntegrityCheckLevel.None; | 653 | IntegrityCheckLevel fsIntegrityCheckLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks ? IntegrityCheckLevel.ErrorOnInvalid : IntegrityCheckLevel.None; |
diff --git a/src/Ryujinx.HLE/HOS/Kernel/Common/KSystemControl.cs b/src/Ryujinx.HLE/HOS/Kernel/Common/KSystemControl.cs index 10f0b6f78..3f194e0ed 100644 --- a/src/Ryujinx.HLE/HOS/Kernel/Common/KSystemControl.cs +++ b/src/Ryujinx.HLE/HOS/Kernel/Common/KSystemControl.cs | |||
@@ -28,8 +28,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Common | |||
28 | MemoryArrange.MemoryArrange4GiBSystemDev or | 28 | MemoryArrange.MemoryArrange4GiBSystemDev or |
29 | MemoryArrange.MemoryArrange6GiBAppletDev => 3285 * MiB, | 29 | MemoryArrange.MemoryArrange6GiBAppletDev => 3285 * MiB, |
30 | MemoryArrange.MemoryArrange4GiBAppletDev => 2048 * MiB, | 30 | MemoryArrange.MemoryArrange4GiBAppletDev => 2048 * MiB, |
31 | MemoryArrange.MemoryArrange6GiB or | 31 | MemoryArrange.MemoryArrange6GiB => 4916 * MiB, |
32 | MemoryArrange.MemoryArrange8GiB => 4916 * MiB, | 32 | MemoryArrange.MemoryArrange8GiB => 6964 * MiB, |
33 | _ => throw new ArgumentException($"Invalid memory arrange \"{arrange}\"."), | 33 | _ => throw new ArgumentException($"Invalid memory arrange \"{arrange}\"."), |
34 | }; | 34 | }; |
35 | } | 35 | } |
@@ -42,8 +42,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Common | |||
42 | MemoryArrange.MemoryArrange4GiBAppletDev => 1554 * MiB, | 42 | MemoryArrange.MemoryArrange4GiBAppletDev => 1554 * MiB, |
43 | MemoryArrange.MemoryArrange4GiBSystemDev => 448 * MiB, | 43 | MemoryArrange.MemoryArrange4GiBSystemDev => 448 * MiB, |
44 | MemoryArrange.MemoryArrange6GiB => 562 * MiB, | 44 | MemoryArrange.MemoryArrange6GiB => 562 * MiB, |
45 | MemoryArrange.MemoryArrange6GiBAppletDev or | 45 | MemoryArrange.MemoryArrange6GiBAppletDev => 2193 * MiB, |
46 | MemoryArrange.MemoryArrange8GiB => 2193 * MiB, | 46 | MemoryArrange.MemoryArrange8GiB => 562 * MiB, |
47 | _ => throw new ArgumentException($"Invalid memory arrange \"{arrange}\"."), | 47 | _ => throw new ArgumentException($"Invalid memory arrange \"{arrange}\"."), |
48 | }; | 48 | }; |
49 | } | 49 | } |
diff --git a/src/Ryujinx.Headless.SDL2/Options.cs b/src/Ryujinx.Headless.SDL2/Options.cs index ea2063758..ef8849eea 100644 --- a/src/Ryujinx.Headless.SDL2/Options.cs +++ b/src/Ryujinx.Headless.SDL2/Options.cs | |||
@@ -219,7 +219,7 @@ namespace Ryujinx.Headless.SDL2 | |||
219 | 219 | ||
220 | // Hacks | 220 | // Hacks |
221 | 221 | ||
222 | [Option("expand-ram", Required = false, Default = false, HelpText = "Expands the RAM amount on the emulated system from 4GiB to 6GiB.")] | 222 | [Option("expand-ram", Required = false, Default = false, HelpText = "Expands the RAM amount on the emulated system from 4GiB to 8GiB.")] |
223 | public bool ExpandRAM { get; set; } | 223 | public bool ExpandRAM { get; set; } |
224 | 224 | ||
225 | [Option("ignore-missing-services", Required = false, Default = false, HelpText = "Enable ignoring missing services.")] | 225 | [Option("ignore-missing-services", Required = false, Default = false, HelpText = "Enable ignoring missing services.")] |
diff --git a/src/Ryujinx.Headless.SDL2/Program.cs b/src/Ryujinx.Headless.SDL2/Program.cs index 07995dbdd..4ee271203 100644 --- a/src/Ryujinx.Headless.SDL2/Program.cs +++ b/src/Ryujinx.Headless.SDL2/Program.cs | |||
@@ -562,7 +562,7 @@ namespace Ryujinx.Headless.SDL2 | |||
562 | _userChannelPersistence, | 562 | _userChannelPersistence, |
563 | renderer, | 563 | renderer, |
564 | new SDL2HardwareDeviceDriver(), | 564 | new SDL2HardwareDeviceDriver(), |
565 | options.ExpandRAM ? MemoryConfiguration.MemoryConfiguration6GiB : MemoryConfiguration.MemoryConfiguration4GiB, | 565 | options.ExpandRAM ? MemoryConfiguration.MemoryConfiguration8GiB : MemoryConfiguration.MemoryConfiguration4GiB, |
566 | window, | 566 | window, |
567 | options.SystemLanguage, | 567 | options.SystemLanguage, |
568 | options.SystemRegion, | 568 | options.SystemRegion, |
diff --git a/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs index af3ad0a1d..8a0be4028 100644 --- a/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs +++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs | |||
@@ -238,7 +238,7 @@ namespace Ryujinx.UI.Common.Configuration | |||
238 | public MemoryManagerMode MemoryManagerMode { get; set; } | 238 | public MemoryManagerMode MemoryManagerMode { get; set; } |
239 | 239 | ||
240 | /// <summary> | 240 | /// <summary> |
241 | /// Expands the RAM amount on the emulated system from 4GiB to 6GiB | 241 | /// Expands the RAM amount on the emulated system from 4GiB to 8GiB |
242 | /// </summary> | 242 | /// </summary> |
243 | public bool ExpandRam { get; set; } | 243 | public bool ExpandRam { get; set; } |
244 | 244 | ||
diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index 0db8ef414..f4bfd1169 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs | |||
@@ -845,7 +845,7 @@ namespace Ryujinx.Ava | |||
845 | Logger.Info?.PrintMsg(LogClass.Gpu, $"Backend Threading ({threadingMode}): {isGALThreaded}"); | 845 | Logger.Info?.PrintMsg(LogClass.Gpu, $"Backend Threading ({threadingMode}): {isGALThreaded}"); |
846 | 846 | ||
847 | // Initialize Configuration. | 847 | // Initialize Configuration. |
848 | var memoryConfiguration = ConfigurationState.Instance.System.ExpandRam.Value ? MemoryConfiguration.MemoryConfiguration6GiB : MemoryConfiguration.MemoryConfiguration4GiB; | 848 | var memoryConfiguration = ConfigurationState.Instance.System.ExpandRam.Value ? MemoryConfiguration.MemoryConfiguration8GiB : MemoryConfiguration.MemoryConfiguration4GiB; |
849 | 849 | ||
850 | HLEConfiguration configuration = new(VirtualFileSystem, | 850 | HLEConfiguration configuration = new(VirtualFileSystem, |
851 | _viewModel.LibHacHorizonManager, | 851 | _viewModel.LibHacHorizonManager, |
diff --git a/src/Ryujinx/Assets/Locales/en_US.json b/src/Ryujinx/Assets/Locales/en_US.json index 74e18056b..3031dea0d 100644 --- a/src/Ryujinx/Assets/Locales/en_US.json +++ b/src/Ryujinx/Assets/Locales/en_US.json | |||
@@ -145,7 +145,7 @@ | |||
145 | "SettingsTabSystemAudioBackendSDL2": "SDL2", | 145 | "SettingsTabSystemAudioBackendSDL2": "SDL2", |
146 | "SettingsTabSystemHacks": "Hacks", | 146 | "SettingsTabSystemHacks": "Hacks", |
147 | "SettingsTabSystemHacksNote": "May cause instability", | 147 | "SettingsTabSystemHacksNote": "May cause instability", |
148 | "SettingsTabSystemExpandDramSize": "Use alternative memory layout (Developers)", | 148 | "SettingsTabSystemExpandDramSize": "Expand DRAM to 8GiB", |
149 | "SettingsTabSystemIgnoreMissingServices": "Ignore Missing Services", | 149 | "SettingsTabSystemIgnoreMissingServices": "Ignore Missing Services", |
150 | "SettingsTabGraphics": "Graphics", | 150 | "SettingsTabGraphics": "Graphics", |
151 | "SettingsTabGraphicsAPI": "Graphics API", | 151 | "SettingsTabGraphicsAPI": "Graphics API", |
@@ -575,7 +575,7 @@ | |||
575 | "MemoryManagerHostTooltip": "Directly map memory in the host address space. Much faster JIT compilation and execution.", | 575 | "MemoryManagerHostTooltip": "Directly map memory in the host address space. Much faster JIT compilation and execution.", |
576 | "MemoryManagerUnsafeTooltip": "Directly map memory, but do not mask the address within the guest address space before access. Faster, but at the cost of safety. The guest application can access memory from anywhere in Ryujinx, so only run programs you trust with this mode.", | 576 | "MemoryManagerUnsafeTooltip": "Directly map memory, but do not mask the address within the guest address space before access. Faster, but at the cost of safety. The guest application can access memory from anywhere in Ryujinx, so only run programs you trust with this mode.", |
577 | "UseHypervisorTooltip": "Use Hypervisor instead of JIT. Greatly improves performance when available, but can be unstable in its current state.", | 577 | "UseHypervisorTooltip": "Use Hypervisor instead of JIT. Greatly improves performance when available, but can be unstable in its current state.", |
578 | "DRamTooltip": "Utilizes an alternative MemoryMode layout to mimic a Switch development model.\n\nThis is only useful for higher-resolution texture packs or 4k resolution mods. Does NOT improve performance.\n\nLeave OFF if unsure.", | 578 | "DRamTooltip": "Utilizes an alternative memory mode with 8GiB of DRAM to mimic a Switch development model.\n\nThis is only useful for higher-resolution texture packs or 4k resolution mods. Does NOT improve performance.\n\nLeave OFF if unsure.", |
579 | "IgnoreMissingServicesTooltip": "Ignores unimplemented Horizon OS services. This may help in bypassing crashes when booting certain games.\n\nLeave OFF if unsure.", | 579 | "IgnoreMissingServicesTooltip": "Ignores unimplemented Horizon OS services. This may help in bypassing crashes when booting certain games.\n\nLeave OFF if unsure.", |
580 | "GraphicsBackendThreadingTooltip": "Executes graphics backend commands on a second thread.\n\nSpeeds up shader compilation, reduces stuttering, and improves performance on GPU drivers without multithreading support of their own. Slightly better performance on drivers with multithreading.\n\nSet to AUTO if unsure.", | 580 | "GraphicsBackendThreadingTooltip": "Executes graphics backend commands on a second thread.\n\nSpeeds up shader compilation, reduces stuttering, and improves performance on GPU drivers without multithreading support of their own. Slightly better performance on drivers with multithreading.\n\nSet to AUTO if unsure.", |
581 | "GalThreadingTooltip": "Executes graphics backend commands on a second thread.\n\nSpeeds up shader compilation, reduces stuttering, and improves performance on GPU drivers without multithreading support of their own. Slightly better performance on drivers with multithreading.\n\nSet to AUTO if unsure.", | 581 | "GalThreadingTooltip": "Executes graphics backend commands on a second thread.\n\nSpeeds up shader compilation, reduces stuttering, and improves performance on GPU drivers without multithreading support of their own. Slightly better performance on drivers with multithreading.\n\nSet to AUTO if unsure.", |