loadslic.c from loadslic.patch