Add new palettes

This commit is contained in:
libretroadmin 2024-03-02 14:26:27 +01:00
parent 7fad08e552
commit 40969671ce
2 changed files with 42 additions and 0 deletions

View File

@ -740,6 +740,42 @@ struct st_palettes palettes[] = {
0xECC1FC, 0xFAC3E7, 0xF7CEC3, 0xE2CDA7,
0xDADB9C, 0xC8E39E, 0xBFE5B8, 0xB2EBC8,
0xB7E5EB, 0xACACAC, 0x000000, 0x000000 }
},
{ "royaltea", "Royaltea palette (PVM-2530)",
{ 0x5A6165, 0x0023A8, 0x0F17B0, 0x28129F,
0x550B61, 0x6B0A11, 0x6E0D00, 0x5E1900,
0x3C2402, 0x003104, 0x003508, 0x00341F,
0x002C55, 0x000000, 0x000000, 0x000000,
0xA7B5BC, 0x0059FF, 0x2A44FF, 0x523CF1,
0x9F34BA, 0xB32846, 0xBB2D09, 0x9E4100,
0x865A00, 0x246D02, 0x007312, 0x007156,
0x0066A6, 0x000000, 0x000000, 0x000000,
0xFFFFFF, 0x4B9FFF, 0x5A91FF, 0x867EFF,
0xD97DFF, 0xFF95CF, 0xFF8E76, 0xF7A247,
0xEFB412, 0x8CC51C, 0x48D04A, 0x10D197,
0x00C9F0, 0x43484B, 0x000000, 0x000000,
0xFFFFFF, 0xB1D9FF, 0xB1CFFF, 0xBCC8FF,
0xE3C8FF, 0xFFD3F7, 0xFFD5CB, 0xFFDEB9,
0xFFE5AD, 0xDBF6AF, 0xB7FBC4, 0x9CFBE6,
0x96F7FF, 0xB1C0C7, 0x000000, 0x000000 }
},
{ "mugicha", "Mugicha palette",
{ 0x5c6164, 0x0021a0, 0x00109c, 0x290c91,
0x520a5c, 0x6d000e, 0x590000, 0x430d00,
0x352200, 0x003800, 0x003d00, 0x003621,
0x00294c, 0x000000, 0x000000, 0x000000,
0xaab5ba, 0x0059f0, 0x2945f7, 0x523cf7,
0xac2dc2, 0xbc095d, 0xbd2c08, 0x964200,
0x825400, 0x007600, 0x007a00, 0x007152,
0x0062a0, 0x000000, 0x000000, 0x000000,
0xffffff, 0x2daaff, 0x5a92ff, 0x967eff,
0xeb7dff, 0xff82d0, 0xff8e73, 0xf79b3d,
0xe6b610, 0x73c40f, 0x32d141, 0x05cb88,
0x00c8f0, 0x414548, 0x000000, 0x000000,
0xffffff, 0xb1d9ff, 0xc8d2ff, 0xe2ccff,
0xffccff, 0xffc6fb, 0xffd0cb, 0xffdeb9,
0xffe5ad, 0xdbf6af, 0xb7fbc4, 0x9cfbe6,
0x96f7ff, 0xb4c0c5, 0x000000, 0x000000 }
}
};
@ -1923,6 +1959,10 @@ static void check_variables(bool startup)
current_palette = 18;
else if (!strcmp(var.value, "nes-classic-fbx"))
current_palette = 19;
else if (!strcmp(var.value, "royaltea"))
current_palette = 20;
else if (!strcmp(var.value, "mugicha"))
current_palette = 21;
if (current_palette != orig_value)
{

View File

@ -262,6 +262,8 @@ struct retro_core_option_v2_definition option_defs[] = {
{ "magnum-fbx", "FBX's Magnum" },
{ "smooth-v2-fbx", "FBX's Smooth V2" },
{ "nes-classic-fbx", "FBX's NES Classic" },
{ "royaltea", "Royaltea (PVM-2530)" },
{ "mugicha", "Mugicha" },
{ "raw", "Raw" },
{ "custom", "Custom" },
{ NULL, NULL },