mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
Miscellaneous updates
This commit is contained in:
@@ -392,7 +392,7 @@ void assign_AssignSections() {
|
||||
// Overlaying requires only fully-constrained sections
|
||||
verbosePrint("Assigning other sections...\n");
|
||||
if (overlayFileName) {
|
||||
fprintf(stderr, "FATAL: All sections must be fixed when using an overlay file");
|
||||
fputs("FATAL: All sections must be fixed when using an overlay file", stderr);
|
||||
uint8_t nbSections = 0;
|
||||
for (int8_t constraints = BANK_CONSTRAINED | ALIGN_CONSTRAINED; constraints >= 0;
|
||||
constraints--) {
|
||||
|
||||
@@ -480,9 +480,9 @@ static void writeMapBank(SortedSections const §List, SectionType type, uint3
|
||||
if (sect->nextu) {
|
||||
// Announce the following "piece"
|
||||
if (sect->nextu->modifier == SECTION_UNION) {
|
||||
fprintf(mapFile, "\t ; Next union\n");
|
||||
fputs("\t ; Next union\n", mapFile);
|
||||
} else if (sect->nextu->modifier == SECTION_FRAGMENT) {
|
||||
fprintf(mapFile, "\t ; Next fragment\n");
|
||||
fputs("\t ; Next fragment\n", mapFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user