fatal: add line spacing func, improve 565->888 for blending

This commit is contained in:
Michael Scire
2018-11-13 13:28:05 -08:00
parent 560d899a9b
commit 1bface09d5
3 changed files with 10 additions and 4 deletions

View File

@@ -203,7 +203,8 @@ Result ShowFatalTask::ShowFatal() {
/* TODO: Actually draw meaningful shit here. */
FontManager::SetPosition(32, 64);
FontManager::PrintFormatLine(u8"A fatal error occurred: 2%03d-%04d", R_MODULE(this->ctx->error_code), R_DESCRIPTION(this->ctx->error_code));
FontManager::PrintFormatLine(u8"Firmware: %s (AMS %u.%u.%u-%s)", GetFatalConfig()->firmware_version.display_version,
FontManager::AddSpacingLines(0.5f);
FontManager::PrintFormatLine(u8"Firmware: %s (Atmosphère %u.%u.%u-%s)", GetFatalConfig()->firmware_version.display_version,
CURRENT_ATMOSPHERE_VERSION, GetAtmosphereGitRevision());