Skip to content

Commit f4edcf7

Browse files
committed
Add option to load custom palettes
1 parent ab41d75 commit f4edcf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/libretro/libretro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ static void check_variables(void)
797797

798798
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
799799
{
800-
core->GetHuC6260()->SetCompositePalette(strcmp(var.value, "Enabled") == 0);
800+
core->GetHuC6260()->SetPalette(strcmp(var.value, "Enabled") == 0 ? 1 : 0);
801801
}
802802

803803
var.key = "geargrafx_backup_ram";

0 commit comments

Comments
 (0)