Don't comment "; Next fragment/union" in .map files for empty section pieces

Fixes #1821
This commit is contained in:
Rangi42
2025-09-05 15:17:21 -04:00
parent f7fb3af615
commit e569e0c200
9 changed files with 54 additions and 16 deletions

View File

@@ -1,8 +1,7 @@
SECTION FRAGMENT "rom", ROM0
Part3::
; No labels in this fragment
LOAD FRAGMENT "ram", WRAM0
wPart3::
jr wPart1
jr wPart3
ENDL
Part3End::

View File

@@ -7,9 +7,6 @@ ROM0 bank #0:
$0000 = Part1
$0004 = Part1End
; Next fragment
$0010 = Part3
$0014 = Part3End
; Next fragment
$0004 = Part2
$0010 = Part2End
EMPTY: $0014-$3fff ($3fec bytes)

View File

@@ -3,7 +3,5 @@
00:0004 Part1End
00:0004 Part2
00:0010 Part2End
00:0010 Part3
00:0014 Part3End
00:c000 wPart1
00:c004 wPart3