diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-05-12 15:28:32 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-05-12 15:28:32 +0100 |
commit | 5e6a1c3434b96ea16485b160c25732df3b00b2b8 (patch) | |
tree | c86331cb1c74fbff18a8b7ef0ebd5989a0a1f182 /src/label.c | |
parent | e60cc5a36c148ef5ea0e38bcc848cf32f2b54a18 (diff) |
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.
Diffstat (limited to 'src/label.c')
-rw-r--r-- | src/label.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |