Skip to content

Commit

Permalink
fix: remove duplicated labels for mesen debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
alekmaul committed Nov 11, 2024
1 parent ea75fd3 commit 690dfea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions devkitsnes/snes_rules
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,15 @@ endif
# -c should be removed ASAP ! It allow duplicate labels and definitions
$(LD) -d -s -v -A -c -L ${LIBDIRSOBJS} linkfile $@

# remove unattended characters
# remove unattended characters
@sed -i 's/://' $(ROMNAME).sym

#keep with section label if needed
@cp -f $(ROMNAME).sym $(ROMNAME).symfull

# remove duplicated labels for mesen debugger
@sed -i '/ SECTIONSTART_/d;/ SECTIONEND_/d;/ RAM_USAGE_SLOT_/d;' $(ROMNAME).sym


@echo
@echo Build finished successfully !
@echo
Expand Down

0 comments on commit 690dfea

Please sign in to comment.