From 3a6275533f5506d5e84dd7a0968c6b34e8496bc9 Mon Sep 17 00:00:00 2001 From: Mefiresu <15063879+Mefiresu@users.noreply.github.com> Date: Sat, 29 Jun 2024 08:55:25 +0200 Subject: [PATCH] Fix CopyPalette function signature --- SonicMania/GameLink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SonicMania/GameLink.h b/SonicMania/GameLink.h index 69c76f2f..0c5a0ca9 100644 --- a/SonicMania/GameLink.h +++ b/SonicMania/GameLink.h @@ -1537,7 +1537,7 @@ typedef struct { void (*SetPaletteEntry)(uint8 bankID, uint8 index, uint32 color); color (*GetPaletteEntry)(uint8 bankID, uint8 index); void (*SetActivePalette)(uint8 newActiveBank, int32 startLine, int32 endLine); - void (*CopyPalette)(uint8 sourceBank, uint8 srcBankStart, uint8 destinationBank, uint8 destBankStart, uint16 count); + void (*CopyPalette)(uint8 sourceBank, uint8 srcBankStart, uint8 destinationBank, uint8 destBankStart, uint8 count); #if RETRO_REV02 void (*LoadPalette)(uint8 bankID, const char *path, uint16 disabledRows); #endif