allow func_cdr to set amaflags patch provided by