Handle missing txs section
This commit is contained in:
parent
671f9ba246
commit
63eed9d796
@ -28,6 +28,10 @@ void tx_table_file(struct game_data *game, wchar_t *buf) {
|
||||
|
||||
// Checksum the TXS section
|
||||
IMAGE_SECTION_HEADER *txsSection = pe_find_section(baseMap, game->txs_section_name);
|
||||
if (!txsSection) {
|
||||
msg_err_a("Could not find %s in %s. " ISSUE_SUFFIX, game->txs_section_name, game->base_module_name);
|
||||
}
|
||||
|
||||
uint32_t txsChecksum = crc32c(0, baseMap + txsSection->PointerToRawData, txsSection->SizeOfRawData);
|
||||
|
||||
// Format the path
|
||||
|
Loading…
Reference in New Issue
Block a user