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

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

View File

@@ -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;
}
}
}
}