diff --git a/Release/scetool.exe b/Release/scetool.exe index bd9b4b2..ead020a 100644 Binary files a/Release/scetool.exe and b/Release/scetool.exe differ diff --git a/src/sce.h b/src/sce.h index f1a92b5..61c86a2 100644 --- a/src/sce.h +++ b/src/sce.h @@ -326,6 +326,16 @@ typedef struct _app_info u64 padding; } app_info_t; +/*! Vender ID. */ +typedef struct _vendor_id +{ + u8 territory; + u8 unknown_1; + u8 unknown_2; + u8 gos_id; +} vendor_id_t; + + /*! Control info. */ typedef struct _control_info { diff --git a/src/self.cpp b/src/self.cpp index a6096d4..e3556ba 100644 --- a/src/self.cpp +++ b/src/self.cpp @@ -105,6 +105,12 @@ void _print_app_info(FILE *fp, app_info_t *ai) } else fprintf(fp, " Vendor-ID 0x%08X\n", _ES32(ai->vendor_id)); + + vendor_id_t *vendor = (vendor_id_t*)(&ai->vendor_id); + _PRINT_RAW(fp, " Territory 0x%02x\n", (vendor->territory)); + //_PRINT_RAW(fp, " unknown_1 0x%02x\n", (vendor->unknown_1)); + //_PRINT_RAW(fp, " unknown_2 0x%02x\n", (vendor->unknown_2)); + _PRINT_RAW(fp, " Gos-id 0x%02x\n", (vendor->gos_id)); name = _get_name(_program_types, _ES32(ai->program_type)); if(name != NULL)