mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-06 04:01:44 +00:00
fatal: Reorder error message lines.
This commit is contained in:
parent
20026587fd
commit
fa9d7f40fc
1 changed files with 4 additions and 3 deletions
|
@ -204,12 +204,13 @@ Result ShowFatalTask::ShowFatal() {
|
||||||
/* TODO: Actually draw meaningful shit here. */
|
/* TODO: Actually draw meaningful shit here. */
|
||||||
FontManager::SetPosition(32, 64);
|
FontManager::SetPosition(32, 64);
|
||||||
FontManager::SetFontSize(16.0f);
|
FontManager::SetFontSize(16.0f);
|
||||||
|
FontManager::PrintFormat(config->error_msg, R_MODULE(this->ctx->error_code), R_DESCRIPTION(this->ctx->error_code), this->ctx->error_code);
|
||||||
|
FontManager::AddSpacingLines(0.5f);
|
||||||
FontManager::PrintFormatLine("Title: %016lx", this->title_id);
|
FontManager::PrintFormatLine("Title: %016lx", this->title_id);
|
||||||
FontManager::AddSpacingLines(0.5f);
|
FontManager::AddSpacingLines(0.5f);
|
||||||
FontManager::PrintFormatLine(config->error_msg, R_MODULE(this->ctx->error_code), R_DESCRIPTION(this->ctx->error_code), this->ctx->error_code);
|
|
||||||
FontManager::PrintLine(config->error_desc);
|
|
||||||
FontManager::AddSpacingLines(0.5f);
|
|
||||||
FontManager::PrintFormatLine(u8"Firmware: %s (Atmosphère %u.%u.%u-%s)", GetFatalConfig()->firmware_version.display_version, CURRENT_ATMOSPHERE_VERSION, GetAtmosphereGitRevision());
|
FontManager::PrintFormatLine(u8"Firmware: %s (Atmosphère %u.%u.%u-%s)", GetFatalConfig()->firmware_version.display_version, CURRENT_ATMOSPHERE_VERSION, GetAtmosphereGitRevision());
|
||||||
|
FontManager::AddSpacingLines(1.5f);
|
||||||
|
FontManager::Print(config->error_desc);
|
||||||
|
|
||||||
/* Add a line. */
|
/* Add a line. */
|
||||||
for (size_t x = 32; x < FatalScreenWidth - 32; x++) {
|
for (size_t x = 32; x < FatalScreenWidth - 32; x++) {
|
||||||
|
|
Loading…
Reference in a new issue