Include XEX version in log
This commit is contained in:
parent
c74c2a5511
commit
9719627296
|
@ -632,6 +632,20 @@ void UserModule::Dump() {
|
|||
|
||||
sb.AppendFormat(" Media ID: {:08X}\n",
|
||||
static_cast<uint32_t>(opt_exec_info->media_id));
|
||||
|
||||
auto& version = opt_exec_info->version;
|
||||
auto& version_base = opt_exec_info->base_version;
|
||||
if (version.value != version_base.value) {
|
||||
sb.AppendFormat(" Version: {}.{}.{}.{} (base {}.{}.{}.{})\n",
|
||||
version.major(), version.minor(), version.build(),
|
||||
version.qfe(), version_base.major(),
|
||||
version_base.minor(), version_base.build(),
|
||||
version_base.qfe());
|
||||
} else {
|
||||
sb.AppendFormat(" Version: {}.{}.{}.{}\n", version.major(),
|
||||
version.minor(), version.build(), version.qfe());
|
||||
}
|
||||
|
||||
sb.AppendFormat(" Title ID: {:08X}\n",
|
||||
static_cast<uint32_t>(opt_exec_info->title_id));
|
||||
sb.AppendFormat(" Savegame ID: {:08X}\n",
|
||||
|
|
Loading…
Reference in New Issue