Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/nesasm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2018-08-20 12:48:49 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2018-08-20 12:48:49 +0300
commited72dcb34f21696872774438814b1a1451008523 (patch)
tree04313b34223cfd6c7c6d73c5be0bf4126ff6094f /source
parentec6918b9888f5bcc329af23a6fbac28aec2e5c2b (diff)
More readable FCEUX symbols for local labels
Diffstat (limited to 'source')
-rw-r--r--source/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/symbol.c b/source/symbol.c
index 9886461..b904089 100644
--- a/source/symbol.c
+++ b/source/symbol.c
@@ -135,7 +135,7 @@ void stlist(char *file, int bank_offset)
bank = local->value < 0x8000 ? -1 : local->bank/2 + bank_offset;
fnum = bank >= 0 ? bank : (sizeof(files) / sizeof(FILE*) - 1);
files[fnum] = stlist_file(files[fnum], file, bank);
- fprintf(files[fnum], "$%04X#%s#\n", local->value, local->name+1);
+ fprintf(files[fnum], "$%04X#%s (%s)#\n", local->value, local->name+1, sym->name+1);
local = local->next;
}
} while ((sym = sym->next) != NULL);