avoid .clrnew loop into un-allocated memory

This commit is contained in:
losso 2024-09-15 15:24:15 +02:00
parent e84afd08e2
commit 816fb40601

View File

@ -67,6 +67,8 @@ fw_InitPart:
move.l a6,fw_PartFwBase(a6) move.l a6,fw_PartFwBase(a6)
move.l fw_PartDataSize(a6),d7 move.l fw_PartDataSize(a6),d7
sub.w #fw_SIZEOF,d7
ble.b .skipclr
addq.w #3,d7 addq.w #3,d7
lsr.w #2,d7 lsr.w #2,d7
beq.s .skipclr beq.s .skipclr