X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=blobdiff_plain;f=platform%2Fcommon%2Fconfig_file.c;h=324c993eb873371db9985d8ab41f03cc3c3312d1;hp=f8f7fdf13fb4b233958a5473d5a0da954ce1fa61;hb=68af34fe20d7d9658100668f86a87bf73506bcb4;hpb=92dfd9afa6e06a071c2e025ff7e0d4f1824a5e8d diff --git a/platform/common/config_file.c b/platform/common/config_file.c index f8f7fdf..324c993 100644 --- a/platform/common/config_file.c +++ b/platform/common/config_file.c @@ -323,6 +323,10 @@ static int custom_read(menu_entry *me, const char *var, const char *val) Pico32xSetClocks(0, currentConfig.ssh2_khz * 1000); return 1; + case MA_OPT2_GAMMA: + currentConfig.gamma = atoi(val); + return 1; + /* PSP */ case MA_OPT3_SCALE: if (strcasecmp(var, "Scale factor") != 0) return 0;