Fix RGBGFX reversal (#1425)

* Print all OoB tilemap IDs before aborting

* Rename `nbTileInstances` to `mapSize`

* Check that reversing doesn't overflow the tile array

---------

Co-authored-by: ISSOtm <[email protected]>
This commit is contained in:
Sylvie
2024-08-08 19:40:41 +02:00
committed by GitHub
co-authored by ISSOtm
parent 747427e801
commit 0cd79c33ef
5 changed files with 146 additions and 65 deletions
+4
View File
@@ -65,6 +65,10 @@ extern Options options;
* Prints the error count, and exits with failure
*/
[[noreturn]] void giveUp();
/*
* If any error has been emitted thus far, calls `giveUp()`.
*/
void requireZeroErrors();
/*
* Prints a warning, and does not change the error count
*/