diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-05-09 12:32:11 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-05-09 12:32:11 -0400 |
commit | 640037b972d022fc6877b4d2e1f51f329cbec9ea (patch) | |
tree | 31bb59ba505d42522063536ee3ce97c142bcc7fb /programs | |
parent | f8c2e25b4ab337789a2e468a8f0aadb0c7fda42f (diff) |
This fixes a bug where it would zero out the info of
the next malloc'd block.
Diffstat (limited to 'programs')
-rw-r--r-- | programs/sub-suite/subeditor.s | 1 |
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 ; |