mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
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 <me@eldred.fr>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user