From bb703bfd0315f6cc5abbfc7fc2827c0791d68d30 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 27 Nov 2022 14:04:11 -0300 Subject: [PATCH] Fixed palette loading in summary screen --- include/decompress.h | 2 +- src/decompress.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/decompress.h b/include/decompress.h index c4837e45d6..04f460454a 100644 --- a/include/decompress.h +++ b/include/decompress.h @@ -13,7 +13,7 @@ void LoadCompressedSpriteSheetOverrideBuffer(const struct CompressedSpriteSheet bool8 LoadCompressedSpriteSheetUsingHeap(const struct CompressedSpriteSheet *src); void LoadCompressedSpritePalette(const struct CompressedSpritePalette *src); -void LoadCompressedSpritePaletteWithTag(const u32 *pal, u8 tag); +void LoadCompressedSpritePaletteWithTag(const u32 *pal, u16 tag); void LoadCompressedSpritePaletteOverrideBuffer(const struct CompressedSpritePalette *src, void *buffer); bool8 LoadCompressedSpritePaletteUsingHeap(const struct CompressedSpritePalette *src); diff --git a/src/decompress.c b/src/decompress.c index b31a4cb7e7..c66009666d 100644 --- a/src/decompress.c +++ b/src/decompress.c @@ -50,7 +50,7 @@ void LoadCompressedSpritePalette(const struct CompressedSpritePalette *src) LoadSpritePalette(&dest); } -void LoadCompressedSpritePaletteWithTag(const u32 *pal, u8 tag) +void LoadCompressedSpritePaletteWithTag(const u32 *pal, u16 tag) { struct SpritePalette dest;