Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace 'Expand DRAM' option with dropdown menu #22

Closed
wants to merge 0 commits into from

Conversation

KeatonTheBot
Copy link
Contributor

This dropdown menu replaces the 'Expand DRAM to 8GiB' option under Settings/System/Hacks. Configurable to use 4GiB (default), 6GiB, 8GiB, and 12GiB. The latter is needed for some really heavy duty 8K+ native resolution mods, and 6GiB/8GiB should be fine for most 4K+ mods (mirroring the OG Switch and Switch OLED dev kits, respectively).

{B3928F21-F530-4DB9-AA80-8789AEBCABAD}

@github-actions github-actions bot added gui Affects the Avalonia UI or translations. horizon Affects the Horizon OS HLE components. kernel Affects the kernel HLE components. labels Oct 20, 2024
@GreemDev GreemDev self-requested a review October 20, 2024 22:27
@GreemDev GreemDev self-assigned this Oct 20, 2024
@KeatonTheBot KeatonTheBot changed the title Replace 'Expand DRAM' option under Settings/System/Hacks with dropdow… Replace 'Expand DRAM' option with dropdown menu Oct 21, 2024
Copy link
Member

@GreemDev GreemDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge apart from the comments I've left.

@@ -245,7 +246,7 @@ public class ConfigurationFileFormat
/// <summary>
/// Expands the RAM amount on the emulated system from 4GiB to 8GiB
/// </summary>
public bool ExpandRam { get; set; }
public MemoryConfiguration DramSize { get; set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version at the top of this class needs to be updated to reflect changes in the structure of the config; and migration code needs to be added similar to how it's done here

@@ -98,7 +98,6 @@ public static bool CanStartApplication(ContentManager contentManager, string bas
if (baseApplicationExtension is not (".nro" or ".nso"))
return IsFirmwareValid(contentManager, out error);

error = UserError.Success;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note on the above if is the reason for this line being there

GreemDev pushed a commit that referenced this pull request Oct 21, 2024
WilliamWsyHK pushed a commit to WilliamWsyHK/Ryujinx-Ryubing that referenced this pull request Dec 6, 2024
)

* Migrate all GH references to `github.com/ryujinx-mirror`

* AboutWindow social references
GreemDev pushed a commit that referenced this pull request Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui Affects the Avalonia UI or translations. horizon Affects the Horizon OS HLE components. kernel Affects the kernel HLE components.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants