rem: if (opts.driver == OPTVAL_CUSTOM)
add: if (opts.res == OPTVAL_CUSTOM)
context: SetDefaults (void){	GLOBALOPTS opts;		GetGlobalOptions (&opts);	if (opts.driver == OPTVAL_CUSTOM)	{		cmdline_opts[0].numopts = RES_OPTS + 1;	}	else	{		cmdline_opts[0].numopts = RES_OPTS;	}	cmdline_opts[0].selected = opts.res;	cmdline_opts[1].selected = opts.driver;	cmdline_opts[2].selected = opts.depth;	cmdline_opts[3].selected = opts.scaler;	cmdline_opts[4].selected = opts.scanlines;	cmdline_opts[5].selected = opts.menu;	cmdline_opts[6].selected = opts.text;	cmdline_opts[7].selected = opts.cscan;	cmdline_opts[8].selected = opts.scroll;	cmdline_opts[9].selected = opts.subtitles;}