(uxnasm) Use correct address in symbol export
This commit is contained in:
parent
8cd011b602
commit
e0c2da0700
|
@ -452,7 +452,7 @@ writesym(char *filename)
|
||||||
if(fp != NULL) {
|
if(fp != NULL) {
|
||||||
for(i = 0; i < p.llen; i++) {
|
for(i = 0; i < p.llen; i++) {
|
||||||
fwrite(&p.labels[i].addr + 1, 1, 1, fp);
|
fwrite(&p.labels[i].addr + 1, 1, 1, fp);
|
||||||
fwrite(&p.labels[i].addr, 1, 1, fp);
|
fwrite((Uint8*)&p.labels[i].addr, 1, 1, fp);
|
||||||
fwrite(p.labels[i].name, slen(p.labels[i].name) + 1, 1, fp);
|
fwrite(p.labels[i].name, slen(p.labels[i].name) + 1, 1, fp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue