mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix some numeric bases in RGBLINK output
This commit is contained in:
@@ -274,7 +274,7 @@ static void placeSection(Section §ion) {
|
||||
snprintf(
|
||||
where,
|
||||
sizeof(where),
|
||||
"in bank $%02" PRIx32 " with align mask %" PRIx16,
|
||||
"in bank $%02" PRIx32 " with align mask $%" PRIx16,
|
||||
section.bank,
|
||||
(uint16_t)~section.alignMask
|
||||
);
|
||||
@@ -287,7 +287,7 @@ static void placeSection(Section §ion) {
|
||||
snprintf(
|
||||
where,
|
||||
sizeof(where),
|
||||
"with align mask %" PRIx16 " and offset %" PRIx16,
|
||||
"with align mask $%" PRIx16 " and offset $%" PRIx16,
|
||||
(uint16_t)~section.alignMask,
|
||||
section.alignOfs
|
||||
);
|
||||
|
||||
@@ -631,7 +631,7 @@ static void placeSection(std::string const &name, bool isOptional) {
|
||||
scriptError(
|
||||
context,
|
||||
"The linker script assigns section \"%s\" to address $%04" PRIx16
|
||||
", but then it would overflow %s by %" PRIx16 " byte%s",
|
||||
", but then it would overflow %s by %" PRIu16 " byte%s",
|
||||
name.c_str(), org, typeInfo.name.c_str(), overflowSize, overflowSize == 1 ? "" : "s"
|
||||
);
|
||||
// Fill as much as possible without going out of bounds.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
error: Unable to place "test" (WRAMX section) in bank $02 with align mask ffc0
|
||||
error: Unable to place "test" (WRAMX section) in bank $02 with align mask $ffc0
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user