Skip to content

Commit 5567902

Browse files
ecm-pushbxPerditionC
authored andcommitted
loadhigh_prepare: accept empty MCBs (memory block size zero)
Broke LH on lDOS, reference: #166
1 parent fe16cfc commit 5567902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/loadhigh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ static int loadhigh_prepare(void)
454454
int found_one = 0;
455455

456456
for (mcbAssign(mcb, region->start)
457-
; FP_SEG(mcb) < region->end && mcb->mcb_type == 'M' && mcb->mcb_size > 0
457+
; FP_SEG(mcb) < region->end && mcb->mcb_type == 'M'
458458
; mcbNext(mcb))
459459
{
460460
if (!mcb->mcb_ownerPSP)

0 commit comments

Comments
 (0)