summaryrefslogtreecommitdiff
path: root/output/outbin.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/outbin.c')
-rw-r--r--output/outbin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/output/outbin.c b/output/outbin.c
index 47d55cac..2aae2fb7 100644
--- a/output/outbin.c
+++ b/output/outbin.c
@@ -1534,6 +1534,7 @@ static void do_output_ith(void)
addr = s->start;
length = s->length;
+ saa_rewind(s->contents);
while (length) {
if ((addr^last) & 0xffff0000) {
@@ -1652,6 +1653,7 @@ static void do_output_srec(void)
addr = s->start;
length = s->length;
+ saa_rewind(s->contents);
while (length) {
chunk = 32 - (addr & 31);