From 816fb4060105fcc5ece1405d2de1ab375679ef9c Mon Sep 17 00:00:00 2001 From: losso Date: Sun, 15 Sep 2024 15:24:15 +0200 Subject: [PATCH] avoid .clrnew loop into un-allocated memory --- source/framework/framework_multipart.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/framework/framework_multipart.asm b/source/framework/framework_multipart.asm index 2aa5434..c30f007 100644 --- a/source/framework/framework_multipart.asm +++ b/source/framework/framework_multipart.asm @@ -67,6 +67,8 @@ fw_InitPart: move.l a6,fw_PartFwBase(a6) move.l fw_PartDataSize(a6),d7 + sub.w #fw_SIZEOF,d7 + ble.b .skipclr addq.w #3,d7 lsr.w #2,d7 beq.s .skipclr