add exosphere.ini option to determine memory mode from physical memory instead of boot config

This commit is contained in:
Christoph Baumann committed 2025-05-21 01:17:18 +02:00
1 parent 77a01f0a9b
commit 5819f3a830
3 files changed
+33 -23

No files matched your search

@@ -463,6 +463,10 @@ namespace ams::nxboot {
if (entry.value[0] == '1') {
storage_ctx.log_flags |= uart::Flag_Inverted;
}
} else if (std::strcmp(entry.key, "memory_mode_auto") == 0) {
if (entry.value[0] == '1') {
storage_ctx.memory_mode_auto = 1;
}
}
}
}