summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
Diffstat (limited to 'programs')
-rw-r--r--programs/sub-suite/subeditor.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/programs/sub-suite/subeditor.s b/programs/sub-suite/subeditor.s
index 1525fa8..23a6163 100644
--- a/programs/sub-suite/subeditor.s
+++ b/programs/sub-suite/subeditor.s
@@ -70,6 +70,7 @@ init_tables:
clr_arr:
pha.q ; Preserve A.
and #0 ; Reset A.
+ sub s, #16 ; Subtract 16 from the size.
@loop:
mov.q (d+s), a ; Clear 16 bytes.
mov.q (d+s+8), a ;