Fix compressed palette alignment

This commit is contained in:
Diegoisawesome
2018-12-18 20:15:59 -06:00
parent 2592803460
commit bd7c251859
16 changed files with 30 additions and 31 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ static const u8 sRoundedDownGrayscaleMap[] = {
31, 31
};
void LoadCompressedPalette(const void *src, u16 offset, u16 size)
void LoadCompressedPalette(const u32 *src, u16 offset, u16 size)
{
LZDecompressWram(src, gPaletteDecompressionBuffer);
CpuCopy16(gPaletteDecompressionBuffer, gPlttBufferUnfaded + offset, size);