mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Reduce SRAM bank number to 16 in rgbasm
The limit was already 16 banks in the linker, which made the previous limit of 511 useless. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -37,7 +37,7 @@ static void bankrangecheck(char *name, uint32_t secttype, int32_t org,
|
|||||||
case SECT_SRAM:
|
case SECT_SRAM:
|
||||||
stype = "SRAM";
|
stype = "SRAM";
|
||||||
minbank = 0;
|
minbank = 0;
|
||||||
maxbank = 0x1ff;
|
maxbank = 15;
|
||||||
break;
|
break;
|
||||||
case SECT_WRAMX:
|
case SECT_WRAMX:
|
||||||
stype = "WRAMX";
|
stype = "WRAMX";
|
||||||
|
|||||||
Reference in New Issue
Block a user