mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-04 21:07:06 +00:00
Fix an SDAS object error message to use the valid section name variable
This commit is contained in:
@@ -294,11 +294,7 @@ void sdobj_ReadFile(FileStackNode const &src, FILE *file, std::vector<Symbol> &f
|
|||||||
uint32_t tmp = readInt(where, token, numberBase);
|
uint32_t tmp = readInt(where, token, numberBase);
|
||||||
|
|
||||||
if (tmp > UINT16_MAX) {
|
if (tmp > UINT16_MAX) {
|
||||||
fatalAt(
|
fatalAt(where, "Area \"%s\" is larger than the GB address space", sectName);
|
||||||
where,
|
|
||||||
"Area \"%s\" is larger than the GB address space",
|
|
||||||
curSection->name.c_str()
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
curSection->size = tmp;
|
curSection->size = tmp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user