mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Honor alignment offset for ALIGN[16, N]
The *one* place where it was missed...
This commit is contained in:
@@ -355,7 +355,7 @@ static struct Section *getSection(char const *name, enum SectionType type, uint3
|
||||
} else if (alignment == 16) {
|
||||
// Treat an alignment of 16 as being fixed at address 0
|
||||
alignment = 0;
|
||||
org = 0;
|
||||
org = alignOffset;
|
||||
// The address is known to be valid, since the alignment is
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user