Loader/NCCH: Log the program ID during loading

This is useful for all sorts of things, but mainly to identify save
folders more easily.
This commit is contained in:
Yuri Kunde Schlesner 2016-03-04 23:53:10 -08:00
parent 987d85a33b
commit b967a581a1
1 changed files with 2 additions and 1 deletions

View File

@ -256,6 +256,7 @@ ResultStatus AppLoader_NCCH::Load() {
resource_limit_category = exheader_header.arm11_system_local_caps.resource_limit_category;
LOG_INFO(Loader, "Name: %s" , exheader_header.codeset_info.name);
LOG_INFO(Loader, "Program ID: %016X" , ncch_header.program_id);
LOG_DEBUG(Loader, "Code compressed: %s" , is_compressed ? "yes" : "no");
LOG_DEBUG(Loader, "Entry point: 0x%08X", entry_point);
LOG_DEBUG(Loader, "Code size: 0x%08X", code_size);