diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-28 01:32:34 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-28 01:32:34 +0000 |
commit | 25738474b655bbff8c31b12634d7377520420baf (patch) | |
tree | 82fe6586ff721004d71386044cf3203f55f46936 /emma.c | |
parent | 472447531bc02c0cbdf9793675ef4475fa07aef5 (diff) |
Added labels to Z80 disassembler
Diffstat (limited to 'emma.c')
-rw-r--r-- | emma.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -46,12 +46,6 @@ static const char id[]="$Id$"; #define LO(w) ((w)&0xff) #define MK(h,l) (((Z80Word)(h))<<8|(l)) -typedef struct -{ - Z80Word address; - const char *label; -} Z80Label; - /* ---------------------------------------- GLOBALS */ static Z80 *z80; @@ -665,6 +659,8 @@ static void DoLabel(int no, const char *arg[]) if (label) label[f].label=NULL; + Z80SetLabels(label); + fclose(fp); } |