Fix OOM for too-small overlay files in 32K mode (rgblink -t)

This commit is contained in:
Rangi
2026-07-13 16:17:30 -04:00
parent 66312f55dd
commit 417b5212d4
7 changed files with 24 additions and 4 deletions
+2
View File
@@ -0,0 +1,2 @@
SECTION "test", ROM0[$42]
Label:: dw Label
+3
View File
@@ -0,0 +1,3 @@
warning: Overlay file does not have a size multiple of 0x4000
warning: Overlay is less than 0x8000 bytes large
warning: Output is larger than overlay file, but no padding value was specified
Binary file not shown.
File diff suppressed because one or more lines are too long
+1
View File
@@ -1 +1,2 @@
warning: Overlay file does not have a size multiple of 0x4000
warning: Overlay is less than 0x8000 bytes large