mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-15 10:17:06 +00:00
Fix -t/--tiny for ROMX in bank 1, and -w/--wramx for WRAMX in bank 1 (#2089)
This commit is contained in:
@@ -223,6 +223,7 @@ static void doSanityChecks(Section §ion) {
|
||||
bankModeError = true;
|
||||
} else {
|
||||
section.type = SECTTYPE_ROM0;
|
||||
section.isBankFixed = false;
|
||||
}
|
||||
}
|
||||
if (options.isWRAM0Mode && section.type == SECTTYPE_WRAMX) {
|
||||
@@ -235,6 +236,7 @@ static void doSanityChecks(Section §ion) {
|
||||
bankModeError = true;
|
||||
} else {
|
||||
section.type = SECTTYPE_WRAM0;
|
||||
section.isBankFixed = false;
|
||||
}
|
||||
}
|
||||
if (options.isDmgMode && section.type == SECTTYPE_VRAM && section.isBankFixed
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
SECTION "rom", ROMX, BANK[1]
|
||||
Label:: db 1
|
||||
|
||||
SECTION "ram", WRAMX, BANK[1]
|
||||
wLabel:: ds 1
|
||||
@@ -0,0 +1 @@
|
||||
-t -w
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user