Rename isWRA0Mode to isWRAM0Mode

This commit is contained in:
Rangi42
2024-02-28 21:57:56 -05:00
committed by Sylvie
parent cdb9315366
commit e90084ad06
5 changed files with 8 additions and 8 deletions

View File

@@ -200,7 +200,7 @@ static void doSanityChecks(struct Section *section)
else
section->type = SECTTYPE_ROM0;
}
if (isWRA0Mode && section->type == SECTTYPE_WRAMX) {
if (isWRAM0Mode && section->type == SECTTYPE_WRAMX) {
if (section->isBankFixed && section->bank != 1)
error(NULL, 0, "%s: WRAMX sections must be in bank 1 with options -w or -d",
section->name.c_str());