ColorUtil: Make decodeCI8image's pal parameter const

This commit is contained in:
Lioncash
2017-01-13 17:07:26 -05:00
parent 30e57cecf7
commit 45415e1057
3 changed files with 6 additions and 7 deletions

View File

@ -58,7 +58,7 @@ void decode5A3image(u32* dst, const u16* src, int width, int height)
}
}
void decodeCI8image(u32* dst, const u8* src, u16* pal, int width, int height)
void decodeCI8image(u32* dst, const u8* src, const u16* pal, int width, int height)
{
for (int y = 0; y < height; y += 4)
{

View File

@ -9,6 +9,6 @@
namespace ColorUtil
{
void decode5A3image(u32* dst, const u16* src, int width, int height);
void decodeCI8image(u32* dst, const u8* src, u16* pal, int width, int height);
void decodeCI8image(u32* dst, const u8* src, const u16* pal, int width, int height);
} // namespace