mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-19 04:07:05 +00:00
Avoid reporting redundant errors on too-large fixed sect addr
This would happen for any such section of non-zero size.
This commit is contained in:
@@ -322,9 +322,7 @@ static void doSanityChecks(Section §ion) {
|
||||
typeInfo.startAddr,
|
||||
typeInfo.endAddr()
|
||||
);
|
||||
}
|
||||
|
||||
if (section.org + section.size > typeInfo.endAddr() + 1) {
|
||||
} else if (section.org + section.size > typeInfo.endAddr() + 1) {
|
||||
error(
|
||||
"Section \"%s\"'s end address $%04x is greater than last address $%04x",
|
||||
section.name.c_str(),
|
||||
|
||||
Reference in New Issue
Block a user