mirror of
https://github.com/astronautlevel2/Anemone3DS.git
synced 2026-01-24 00:32:43 -05:00
added warning if not theme
This commit is contained in:
@@ -78,6 +78,7 @@ static Result install_theme_internal(Entry_List_s themes, int installmode)
|
||||
{
|
||||
free(body);
|
||||
DEBUG("body not found\n");
|
||||
throw_error("No body_LZ.bin found - is this a theme?", ERROR_LEVEL_WARNING);
|
||||
return MAKERESULT(RL_PERMANENT, RS_CANCELED, RM_APPLICATION, RD_NOT_FOUND);
|
||||
}
|
||||
|
||||
@@ -135,6 +136,7 @@ static Result install_theme_internal(Entry_List_s themes, int installmode)
|
||||
{
|
||||
free(body);
|
||||
DEBUG("body not found\n");
|
||||
throw_error("No body_LZ.bin found - is this a theme?", ERROR_LEVEL_WARNING);
|
||||
return MAKERESULT(RL_PERMANENT, RS_CANCELED, RM_APPLICATION, RD_NOT_FOUND);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user