mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-03 10:45:37 +00:00
Use Section::typeInfo() more
This commit is contained in:
1 parent
3b250d5386
commit
0b9f8ab523
3 files changed
+7
-8
No files matched your search
+2
-2
@@ -263,7 +263,7 @@ void layout_PlaceSection(std::string const &name, bool isOptional) {
|
||||
"\"%s\" is specified to be a %s section, but it is already a %s section",
|
||||
name.c_str(),
|
||||
typeInfo.name.c_str(),
|
||||
sectionTypeInfo[section->type].name.c_str()
|
||||
section->typeInfo().name.c_str()
|
||||
);
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ void layout_PlaceSection(std::string const &name, bool isOptional) {
|
||||
"The linker script places section \"%s\" in %s bank %" PRIu32
|
||||
", but it was already defined in bank %" PRIu32,
|
||||
name.c_str(),
|
||||
sectionTypeInfo[section->type].name.c_str(),
|
||||
section->typeInfo().name.c_str(),
|
||||
bank,
|
||||
section->bank
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user