diff options
Diffstat (limited to 'z80.c')
-rw-r--r-- | z80.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -38,6 +38,7 @@ static const char ident[]="$Id$"; static const char ident_z80_header[]=Z80_H; static const char ident_z80_private_header[]=Z80_PRIVATE_H; +Z80Label *z80_labels=NULL; /* ---------------------------------------- PRIVATE FUNCTIONS */ @@ -309,6 +310,12 @@ Z80Val Z80Cycles(Z80 *cpu) } +void Z80SetLabels(Z80Label labels[]) +{ + z80_labels=labels; +} + + const char *Z80Disassemble(Z80 *cpu, Z80Word *pc) { #ifdef ENABLE_DISASSEM |