Find lost type encoding relocations

I have no idea why I thought it was a good idea to delete those lines.
Yay for regression tests, though.
This commit is contained in:
Bill Currie 2020-02-22 23:33:56 +09:00
parent 806af85447
commit 3aabfa71d9

View file

@ -1013,6 +1013,10 @@ qfo_to_progs (qfo_t *qfo, int *size)
globaldefs++;
}
for (i = 0; i < qfo->spaces[qfo_type_space].num_defs; i++) {
qfo->spaces[qfo_type_space].defs[i].offset += type_encodings_start;
}
for (i = 0; i < qfo->spaces[qfo_entity_space].num_defs; i++) {
convert_def (qfo, qfo->spaces[qfo_entity_space].defs + i,
fielddefs + i);