From f4d0f01f91bef734cc7323629c7aebd8ebdd5fdb Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Fri, 2 Aug 2024 16:14:43 +0200 Subject: [PATCH] Fix max number of palettes wrapping around after 255 --- include/gfx/main.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gfx/main.hpp b/include/gfx/main.hpp index fcf25769..f5e16033 100644 --- a/include/gfx/main.hpp +++ b/include/gfx/main.hpp @@ -38,7 +38,7 @@ struct Options { uint16_t height; } inputSlice{0, 0, 0, 0}; // -L (margins in clockwise order, like CSS) std::array maxNbTiles{UINT16_MAX, 0}; // -N - uint8_t nbPalettes = 8; // -n + uint16_t nbPalettes = 8; // -n std::string output{}; // -o std::string palettes{}; // -p, -P std::string palmap{}; // -q, -Q