Fix max number of palettes wrapping around after 255

This commit is contained in:
ISSOtm
2024-08-02 16:14:43 +02:00
parent 0ed846c773
commit f4d0f01f91

View File

@@ -38,7 +38,7 @@ struct Options {
uint16_t height; uint16_t height;
} inputSlice{0, 0, 0, 0}; // -L (margins in clockwise order, like CSS) } inputSlice{0, 0, 0, 0}; // -L (margins in clockwise order, like CSS)
std::array<uint16_t, 2> maxNbTiles{UINT16_MAX, 0}; // -N std::array<uint16_t, 2> maxNbTiles{UINT16_MAX, 0}; // -N
uint8_t nbPalettes = 8; // -n uint16_t nbPalettes = 8; // -n
std::string output{}; // -o std::string output{}; // -o
std::string palettes{}; // -p, -P std::string palettes{}; // -p, -P
std::string palmap{}; // -q, -Q std::string palmap{}; // -q, -Q