From 5e6a1c3434b96ea16485b160c25732df3b00b2b8 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 12 May 2016 15:28:32 +0100 Subject: Started on SPC700 Also: * Added offset to import command. Realised fairly useless, but may as well keep it. * Added setting of address space size to state for PC. --- src/label.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/label.c') diff --git a/src/label.c b/src/label.c index 78a4793..449f4d0 100644 --- a/src/label.c +++ b/src/label.c @@ -550,7 +550,7 @@ void LabelWriteBlob(FILE *fp) } -void LabelReadBlob(FILE *fp) +void LabelReadBlob(FILE *fp, int offset) { int count; int f; @@ -565,7 +565,7 @@ void LabelReadBlob(FILE *fp) ReadName(fp, name); value = ReadNumber(fp); - LabelSet(name, value, GLOBAL_LABEL); + LabelSet(name, value + offset, GLOBAL_LABEL); } } -- cgit v1.2.3