mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Improve LOAD test to also test patches inside LOAD section
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
SECTION "test", ROM0[1]
|
||||
call Target
|
||||
LOAD "new", WRAM0[$C001]
|
||||
Target: dl $DEADBEEF
|
||||
Target: dl DEAD << 16 | BEEF
|
||||
.end
|
||||
ENDL
|
||||
After:
|
||||
@@ -9,6 +9,11 @@ After:
|
||||
ld hl, Word
|
||||
dw Byte, Target.end, After
|
||||
|
||||
SECTION "dead", WRAMX[$DEAD]
|
||||
DEAD:
|
||||
SECTION "beef", SRAM[$BEEF]
|
||||
BEEF:
|
||||
|
||||
SECTION "ram test", WRAM0 ; Should end up at $C005
|
||||
Word:
|
||||
dw
|
||||
|
||||
Reference in New Issue
Block a user