Include XEX version in log

This commit is contained in:
emoose 2020-01-07 20:05:26 +00:00 committed by illusion
parent c74c2a5511
commit 9719627296
1 changed files with 14 additions and 0 deletions

View File

@ -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",