mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Implement some missed relocs.
This commit is contained in:
parent
2bddcefafe
commit
75c3653be4
1 changed files with 2 additions and 2 deletions
|
@ -726,7 +726,7 @@ qfo_relocate_refs (qfo_t *qfo)
|
|||
// these should never appear in a qfo file
|
||||
break;
|
||||
case rel_def_op:
|
||||
//FIXME how?
|
||||
QFO_INT (qfo, reloc->space, reloc->offset) = reloc->target;
|
||||
break;
|
||||
case rel_def_def:
|
||||
QFO_INT (qfo, reloc->space, reloc->offset) = def->offset;
|
||||
|
@ -738,7 +738,7 @@ qfo_relocate_refs (qfo_t *qfo)
|
|||
QFO_INT (qfo, reloc->space, reloc->offset) = reloc->target;
|
||||
break;
|
||||
case rel_def_field:
|
||||
//FIXME how?
|
||||
QFO_INT (qfo, reloc->space, reloc->offset) = def->offset;
|
||||
break;
|
||||
case rel_op_a_def_ofs:
|
||||
QFO_STATEMENT (qfo, reloc->offset)->a += def->offset;
|
||||
|
|
Loading…
Reference in a new issue