summaryrefslogtreecommitdiff
path: root/emma.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-08-28 01:32:34 +0000
committerIan C <ianc@noddybox.co.uk>2006-08-28 01:32:34 +0000
commit25738474b655bbff8c31b12634d7377520420baf (patch)
tree82fe6586ff721004d71386044cf3203f55f46936 /emma.c
parent472447531bc02c0cbdf9793675ef4475fa07aef5 (diff)
Added labels to Z80 disassembler
Diffstat (limited to 'emma.c')
-rw-r--r--emma.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/emma.c b/emma.c
index d3f59a9..ce2e113 100644
--- a/emma.c
+++ b/emma.c
@@ -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);
}