mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix bank-fixed sections going in any bank
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user