diff --git a/readself.c b/readself.c index 224c68f..4ba3456 100644 --- a/readself.c +++ b/readself.c @@ -39,14 +39,6 @@ static u64 ctrl_size; static int decrypted = -1; struct id2name_tbl t_sdk_type[] = { - {0, "Retail (Type 0)"}, - {1, "Retail"}, - {2, "Retail (Type 1)"}, - {0x8000, "Devkit"}, - {0, NULL} -}; - -struct id2name_tbl t_app_type[] = { {0, "Retail (Type 0)"}, {1, "Retail"}, {2, "Retail (Type 1)"}, @@ -76,6 +68,17 @@ struct id2name_tbl t_app_type[] = { {0, NULL} }; +struct id2name_tbl t_app_type[] = { + {1, "level 0"}, + {2, "level 1"}, + {3, "level 2"}, + {4, "application"}, + {5, "isolated SPU module"}, + {6, "secure loader"}, + {8, "NP-DRM application"}, + {0, NULL} +}; + static struct id2name_tbl t_shdr_type[] = { {0, "NULL"}, {1, "PROGBITS"},