mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-13 21:31:42 +00:00
Fix SECTION UNION alignment depending on piece order
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
SECTION "ROM", ROM0
|
||||
LOAD UNION "U", WRAM0
|
||||
ds 1
|
||||
ENDL
|
||||
@@ -0,0 +1,17 @@
|
||||
SECTION "R1", WRAM0
|
||||
ds $77
|
||||
|
||||
SECTION "R2", WRAM0
|
||||
ds $ef
|
||||
|
||||
SECTION UNION "U", WRAM0
|
||||
ds $52e
|
||||
|
||||
SECTION UNION "U", WRAM0
|
||||
wStart::
|
||||
ds $89
|
||||
assert @ & $FF == 0, "wContent must be 8-bit aligned"
|
||||
align 8
|
||||
wContent::
|
||||
ds $111
|
||||
wEnd::
|
||||
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
WRAM0
|
||||
align 8
|
||||
"R1"
|
||||
"U"
|
||||
"R2"
|
||||
Reference in New Issue
Block a user