Open comex opened 4 years ago
i’m not at a computer but yeah i did push a fix for remap https://github.com/SciresM/hactool/pull/88
Oh, nice, thanks! Tagging @shchmue -- I have no idea how the save code in here works, heh.
...Is that a PR waiting my review for like six months?
geez, okay, I'll get that sorted.
no the oldest commit was that long ago the PR is recent
The logic in this function doesn't really make sense. It repeatedly sets
seg->entries
to newly allocated buffers of sizesizeof(remap_entry_ctx_t)
(i.e. only one element), then at the end tries to use it like an array (seg->entries[seg->entry_count - 1]
).