mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Use a constant for 0x8001 (#1596)
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
#include "gfx/proto_palette.hpp"
|
||||
|
||||
class ImagePalette {
|
||||
// Use as many slots as there are CGB colors (plus transparency)
|
||||
std::array<std::optional<Rgba>, 0x8001> _colors;
|
||||
std::array<std::optional<Rgba>, NB_COLOR_SLOTS> _colors;
|
||||
|
||||
public:
|
||||
ImagePalette() = default;
|
||||
|
||||
Reference in New Issue
Block a user