mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
Fix linkerscript linking errors
The problems were introduced by the following commits: -959bfe2a9d-975200834eSigned-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -134,7 +134,7 @@ void script_SetCurrentSectionType(const char *type, uint32_t bank)
|
||||
BANK_COUNT_WRAMX);
|
||||
}
|
||||
current_bank = BANK_INDEX_WRAMX + bank - 1;
|
||||
current_real_bank = bank - 1;
|
||||
current_real_bank = bank;
|
||||
return;
|
||||
} else if (strcmp(type, "SRAM") == 0) {
|
||||
if (bank >= BANK_COUNT_SRAM) {
|
||||
|
||||
Reference in New Issue
Block a user