mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
Write the function start address to the progs file.
Oops:P
This commit is contained in:
parent
2211a807d4
commit
72fae608e5
1 changed files with 1 additions and 0 deletions
|
@ -751,6 +751,7 @@ qfo_to_progs (qfo_t *qfo, int *size)
|
||||||
for (i = 0; i < qfo->num_funcs; i++) {
|
for (i = 0; i < qfo->num_funcs; i++) {
|
||||||
dfunction_t *df = functions + i;
|
dfunction_t *df = functions + i;
|
||||||
qfo_func_t *qf = qfo->funcs + i;
|
qfo_func_t *qf = qfo->funcs + i;
|
||||||
|
df->first_statement = qf->code;
|
||||||
df->parm_start = locals_start;
|
df->parm_start = locals_start;
|
||||||
df->locals = qfo->spaces[qf->locals_space].data_size;
|
df->locals = qfo->spaces[qf->locals_space].data_size;
|
||||||
if (!options.code.local_merging)
|
if (!options.code.local_merging)
|
||||||
|
|
Loading…
Reference in a new issue