Add compatibility hack for unused colors in indexed PNGs

This commit is contained in:
ISSOtm
2022-03-09 00:00:07 +01:00
committed by Eldred Habert
parent b95c26c886
commit 20442c8a43
5 changed files with 43 additions and 25 deletions

View File

@@ -73,6 +73,8 @@ struct Palette {
decltype(colors)::iterator end();
decltype(colors)::const_iterator begin() const;
decltype(colors)::const_iterator end() const;
uint8_t size() const;
};
#endif /* RGBDS_GFX_MAIN_HPP */