-
Notifications
You must be signed in to change notification settings - Fork 517
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
Conversation
There was a problem hiding this 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; } |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
1c26ca3
to
0f3c7f9
Compare
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).