X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Fconfig_file.c;h=97369cb452f3e6f35a7cd550bf6a768350512e74;hb=274fcc35aa20e9777a8e09630a94088757384329;hp=f8f7fdf13fb4b233958a5473d5a0da954ce1fa61;hpb=b59172e3d428eb6848e6874861804c79bbc9d1ec;p=picodrive.git diff --git a/platform/common/config_file.c b/platform/common/config_file.c index f8f7fdf..97369cb 100644 --- a/platform/common/config_file.c +++ b/platform/common/config_file.c @@ -308,11 +308,6 @@ static int custom_read(menu_entry *me, const char *var, const char *val) return 0; return 1; - case MA_CDOPT_READAHEAD: - if (strcasecmp(var, "ReadAhead buffer") != 0) return 0; - PicoCDBuffers = atoi(val) / 2; - return 1; - case MA_32XOPT_MSH2_CYCLES: currentConfig.msh2_khz = atoi(val); Pico32xSetClocks(currentConfig.msh2_khz * 1000, 0); @@ -323,6 +318,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;