mirror of
https://github.com/ksherlock/merlin-utils.git
synced 2026-04-19 21:16:28 +00:00
fix multi-segment expressload header
This commit is contained in:
@@ -659,7 +659,7 @@ void save_omf(const std::string &path, std::vector<omf::segment> &segments, bool
|
||||
push(expr_headers, h.unused3);
|
||||
push(expr_headers, h.segnum);
|
||||
push(expr_headers, h.entry);
|
||||
push(expr_headers, (uint16_t)(h.dispname-4));
|
||||
push(expr_headers, (uint16_t)(h.dispname));
|
||||
push(expr_headers, h.dispdata);
|
||||
|
||||
expr_headers.insert(expr_headers.end(), 10, ' ');
|
||||
@@ -704,6 +704,7 @@ void save_omf(const std::string &path, std::vector<omf::segment> &segments, bool
|
||||
push(data, (uint16_t)(fudge + offset));
|
||||
push(data, (uint16_t)0);
|
||||
push(data, (uint32_t)0);
|
||||
fudge -= 8;
|
||||
}
|
||||
|
||||
for (auto &s : segments) {
|
||||
|
||||
Reference in New Issue
Block a user