Add a gfx2.ini parameter to set the gamma for Thomson MO/TO palettes

This commit is contained in:
Thomas Bernard
2018-11-15 23:39:00 +01:00
parent cd15c4197b
commit 6189b43917
5 changed files with 18 additions and 1 deletions

View File

@@ -1048,6 +1048,13 @@ int Load_INI(T_Config * conf)
{
conf->Default_mode_layers=(values[0]!=0);
}
conf->MOTO_gamma=28;
// Optional, gamma value used for palette of load/save Thomson MO/TO pictures (>=2.6)
if (!Load_INI_get_values (file,buffer,"MOTO_gamma",1,values))
{
conf->MOTO_gamma=(byte)values[0];
}
// Insert new values here