Ensure that INCBIN parameters are non-negative

This commit is contained in:
Rangi42
2025-07-18 12:30:37 -04:00
parent 8e84850679
commit b80b30fba1
5 changed files with 13 additions and 43 deletions

View File

@@ -0,0 +1,3 @@
SECTION "Bad", ROM0
INCBIN "data.bin", -42

View File

@@ -0,0 +1,2 @@
FATAL: incbin-negative-bad.asm(3):
Constant must not be negative: -42