Update high-res-func.c