[CPU] Load alt-title-ids XEX header into XexModule::opt_alternate_title_ids_

This commit is contained in:
emoose
2021-06-15 22:28:09 +01:00
committed by Rick Gibbed
parent fbf9c4630f
commit c889a8af3f
3 changed files with 24 additions and 0 deletions

View File

@@ -529,6 +529,13 @@ struct xex2_import_library {
}
};
struct xex2_opt_generic_u32 {
xe::be<uint32_t> size;
xe::be<uint32_t> values[1];
uint32_t count() const { return (size - 4) / 4; }
};
struct xex2_opt_header {
xe::be<uint32_t> key; // 0x0