Fix a crash and a limitation in RGBGFX unoptimized output

- If both banks 0 and 1 were completely filled, then
  `assume(bank == 0)` would false and potentially crash.
- If the input image had fully-background tiles, they would be
  incorrectly counted towards `nbTiles` and could cause the
  "Image contains N tiles, exceeding the limit" check to fail.
This commit is contained in:
Rangi
2026-07-11 12:32:31 -04:00
parent 5525dd902b
commit 3b33c942ae
7 changed files with 21 additions and 14 deletions
+3
View File
@@ -0,0 +1,3 @@
-B transparent
-c dmg
-N 256,256
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB