Merge pull request #2748 from CTCaer/auto_dram_cfg

[Feature] Auto dram cfg & Auto memory mode
This commit is contained in:
hexkyz authored and GitHub committed 2026-04-03 19:27:38 +01:00
commit 8987d642d1
4 files changed
+62 -11

No files matched your search

@@ -545,6 +545,12 @@ namespace ams::nxboot {
} else {
storage_ctx.flags[0] &= ~secmon::SecureMonitorConfigurationFlag_EnableUserModePerformanceCounterAccess;
}
} else if (std::strcmp(entry.key, "enable_mem_mode") == 0) {
if (entry.value[0] == '1') {
storage_ctx.flags[0] |= secmon::SecureMonitorConfigurationFlag_BootConfigMemoryModeEnabled;
} else {
storage_ctx.flags[0] &= ~secmon::SecureMonitorConfigurationFlag_BootConfigMemoryModeEnabled;
}
} else if (std::strcmp(entry.key, "blank_prodinfo_sysmmc") == 0) {
if (!emummc_enabled) {
if (entry.value[0] == '1') {