diff options
Diffstat (limited to 'engines/sci/graphics/palette.h')
-rw-r--r-- | engines/sci/graphics/palette.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/palette.h b/engines/sci/graphics/palette.h index 2178de8a91..af74169976 100644 --- a/engines/sci/graphics/palette.h +++ b/engines/sci/graphics/palette.h @@ -25,6 +25,7 @@ #include "common/array.h" #include "sci/graphics/helpers.h" +#include "sci/util.h" namespace Sci { @@ -47,9 +48,9 @@ public: bool isUsing16bitColorMatch(); void setDefault(); - void createFromData(byte *data, int bytesLeft, Palette *paletteOut) const; + void createFromData(const SciSpan<const byte> &data, Palette *paletteOut) const; bool setAmiga(); - void modifyAmigaPalette(byte *data); + void modifyAmigaPalette(const SciSpan<const byte> &data); void setEGA(); void set(Palette *sciPal, bool force, bool forceRealMerge = false); bool insert(Palette *newPalette, Palette *destPalette); |