mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Kernel] Added missing module hash calculation
This commit is contained in:
parent
542e075699
commit
5a71b55233
|
|
@ -395,8 +395,13 @@ void UserModule::Dump() {
|
||||||
kernel_state_->emulator()->export_resolver();
|
kernel_state_->emulator()->export_resolver();
|
||||||
auto header = xex_header();
|
auto header = xex_header();
|
||||||
|
|
||||||
|
CalculateHash();
|
||||||
|
|
||||||
// XEX header.
|
// XEX header.
|
||||||
sb.AppendFormat("Module {}:\n", path_);
|
sb.AppendFormat("Module {}:\n", path_);
|
||||||
|
|
||||||
|
sb.AppendFormat("Module Hash: {:016X}\n", hash_);
|
||||||
|
|
||||||
sb.AppendFormat(" Module Flags: {:08X}\n", (uint32_t)header->module_flags);
|
sb.AppendFormat(" Module Flags: {:08X}\n", (uint32_t)header->module_flags);
|
||||||
|
|
||||||
// Security header
|
// Security header
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue