Fix bank-fixed sections going in any bank

This commit is contained in:
ISSOtm
2019-10-11 19:02:01 +02:00
parent 4600f70fef
commit 9b895e8a0a

View File

@@ -193,6 +193,9 @@ static struct FreeSpace *getPlacement(struct Section const *section,
/* Try again with the new location/free space combo */
}
if (section->isBankFixed)
return NULL;
/* Try again in the next bank */
location->bank++;
if (location->bank > bankranges[section->type][1])