Fix the theme extdata error screen (#109)
* fix theme extdata not being present hanging the console * custom draw_text_center function that takes care of newlines so the theme extdata error text is no longer broken
This commit is contained in:
@@ -140,6 +140,12 @@ int main(void)
|
||||
|
||||
while(aptMainLoop())
|
||||
{
|
||||
if(R_FAILED(archive_result) && current_mode == MODE_THEMES)
|
||||
{
|
||||
throw_error("Theme extdata does not exist!\nSet a default theme from the home menu.", ERROR_LEVEL_ERROR);
|
||||
break;
|
||||
}
|
||||
|
||||
hidScanInput();
|
||||
u32 kDown = hidKeysDown();
|
||||
u32 kHeld = hidKeysHeld();
|
||||
@@ -154,11 +160,6 @@ int main(void)
|
||||
|
||||
if(kDown & KEY_START) break;
|
||||
|
||||
if(R_FAILED(archive_result) && current_mode == MODE_THEMES)
|
||||
{
|
||||
throw_error("Theme extdata does not exist!\nSet a default theme from the home menu.", ERROR_LEVEL_ERROR);
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!install_mode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user