ams: make mesosphere usage user-visible in display version

This commit is contained in:
Michael Scire
2020-09-17 21:18:44 -07:00
parent 1930880270
commit 8d46d901d9
3 changed files with 16 additions and 2 deletions

View File

@@ -351,6 +351,10 @@ namespace ams::creport {
void CrashReport::SaveToFile(ScopedFile &file) {
file.WriteFormat("Atmosphère Crash Report (v1.5):\n");
/* TODO: Remove in Atmosphere 1.0.0. */
file.WriteFormat("Mesosphere: %s\n", svc::IsKernelMesosphere() ? "Enabled" : "Disabled");
file.WriteFormat("Result: 0x%X (2%03d-%04d)\n\n", this->result.GetValue(), this->result.GetModule(), this->result.GetDescription());
/* Process Info. */