Merge pull request #188 from jdgleaver/ti83-legacy-palette

Add 'TI-83 Legacy' internal colourisation palette
This commit is contained in:
Autechre 2021-06-11 06:03:41 +02:00 committed by GitHub
commit 94221ec703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 52 deletions

View File

@ -375,6 +375,12 @@ static const unsigned short pExt3[] = {
PACK15_4(0xF8F8F8, 0xD7543C, 0x7D3023, 0x000000)
};
static const unsigned short pExt4[] = {
PACK15_4(0x9CA684, 0x727C5A, 0x464A35, 0x181810),
PACK15_4(0x9CA684, 0x727C5A, 0x464A35, 0x181810),
PACK15_4(0x9CA684, 0x727C5A, 0x464A35, 0x181810)
};
//
// Super Game Boy Palettes
//
@ -1831,6 +1837,7 @@ static const GbcPaletteEntry gbcDirPalettes[] = {
{ "Special 1", pExt1 },
{ "Special 2", pExt2 },
{ "Special 3", pExt3 },
{ "Special 4 (TI-83 Legacy)", pExt4 },
{ "TWB64 001 - Aqours Blue", twb64_001_aqours_blue },
{ "TWB64 002 - Anime Expo Ver.", twb64_002_anime_expo_ver },
{ "TWB64 003 - SpongeBob Yellow", twb64_003_spongebob_yellow },

View File

@ -69,58 +69,59 @@ struct retro_core_option_definition option_defs_us[] = {
"Internal Palette",
"Selects palette used for colorizing Game Boy games when 'GB Colorization' is set to 'Internal', or when 'GB Colorization' is set to 'Auto' and game has no pre-defined SGB/GBC palette. 'GB' palettes mimic the display of original Game Boy hardware. 'GBC' palettes are identical to the built-in presets of the Game Boy Color. 'SGB' palettes are identical to the built-in presets of the Super Game Boy.",
{
{ "GB - DMG", NULL },
{ "GB - Pocket", NULL },
{ "GB - Light", NULL },
{ "GBC - Blue", NULL },
{ "GBC - Brown", NULL },
{ "GBC - Dark Blue", NULL },
{ "GBC - Dark Brown", NULL },
{ "GBC - Dark Green", NULL },
{ "GBC - Grayscale", NULL },
{ "GBC - Green", NULL },
{ "GBC - Inverted", NULL },
{ "GBC - Orange", NULL },
{ "GBC - Pastel Mix", NULL },
{ "GBC - Red", NULL },
{ "GBC - Yellow", NULL },
{ "SGB - 1A", NULL },
{ "SGB - 1B", NULL },
{ "SGB - 1C", NULL },
{ "SGB - 1D", NULL },
{ "SGB - 1E", NULL },
{ "SGB - 1F", NULL },
{ "SGB - 1G", NULL },
{ "SGB - 1H", NULL },
{ "SGB - 2A", NULL },
{ "SGB - 2B", NULL },
{ "SGB - 2C", NULL },
{ "SGB - 2D", NULL },
{ "SGB - 2E", NULL },
{ "SGB - 2F", NULL },
{ "SGB - 2G", NULL },
{ "SGB - 2H", NULL },
{ "SGB - 3A", NULL },
{ "SGB - 3B", NULL },
{ "SGB - 3C", NULL },
{ "SGB - 3D", NULL },
{ "SGB - 3E", NULL },
{ "SGB - 3F", NULL },
{ "SGB - 3G", NULL },
{ "SGB - 3H", NULL },
{ "SGB - 4A", NULL },
{ "SGB - 4B", NULL },
{ "SGB - 4C", NULL },
{ "SGB - 4D", NULL },
{ "SGB - 4E", NULL },
{ "SGB - 4F", NULL },
{ "SGB - 4G", NULL },
{ "SGB - 4H", NULL },
{ "Special 1", NULL },
{ "Special 2", NULL },
{ "Special 3", NULL },
{ "TWB64 - Pack 1", NULL },
{ "TWB64 - Pack 2", NULL },
{ "GB - DMG", NULL },
{ "GB - Pocket", NULL },
{ "GB - Light", NULL },
{ "GBC - Blue", NULL },
{ "GBC - Brown", NULL },
{ "GBC - Dark Blue", NULL },
{ "GBC - Dark Brown", NULL },
{ "GBC - Dark Green", NULL },
{ "GBC - Grayscale", NULL },
{ "GBC - Green", NULL },
{ "GBC - Inverted", NULL },
{ "GBC - Orange", NULL },
{ "GBC - Pastel Mix", NULL },
{ "GBC - Red", NULL },
{ "GBC - Yellow", NULL },
{ "SGB - 1A", NULL },
{ "SGB - 1B", NULL },
{ "SGB - 1C", NULL },
{ "SGB - 1D", NULL },
{ "SGB - 1E", NULL },
{ "SGB - 1F", NULL },
{ "SGB - 1G", NULL },
{ "SGB - 1H", NULL },
{ "SGB - 2A", NULL },
{ "SGB - 2B", NULL },
{ "SGB - 2C", NULL },
{ "SGB - 2D", NULL },
{ "SGB - 2E", NULL },
{ "SGB - 2F", NULL },
{ "SGB - 2G", NULL },
{ "SGB - 2H", NULL },
{ "SGB - 3A", NULL },
{ "SGB - 3B", NULL },
{ "SGB - 3C", NULL },
{ "SGB - 3D", NULL },
{ "SGB - 3E", NULL },
{ "SGB - 3F", NULL },
{ "SGB - 3G", NULL },
{ "SGB - 3H", NULL },
{ "SGB - 4A", NULL },
{ "SGB - 4B", NULL },
{ "SGB - 4C", NULL },
{ "SGB - 4D", NULL },
{ "SGB - 4E", NULL },
{ "SGB - 4F", NULL },
{ "SGB - 4G", NULL },
{ "SGB - 4H", NULL },
{ "Special 1", NULL },
{ "Special 2", NULL },
{ "Special 3", NULL },
{ "Special 4 (TI-83 Legacy)", NULL },
{ "TWB64 - Pack 1", NULL },
{ "TWB64 - Pack 2", NULL },
{ NULL, NULL },
},
"GB - DMG"