// dumb_load loads a module from the given filename or returns NULL. DUH *dumb_load(const char *filename) { DUH *duh = dumb_load_it_quick(filename); if (!duh) duh = dumb_load_xm_quick(filename); if (!duh) duh = dumb_load_s3m_quick(filename); if (!duh) duh = dumb_load_mod_quick(filename); return duh; }
DUH * dumba5_load_module(const char * fn) { DUH * dp = NULL; dp = dumb_load_xm_quick(fn); if(!dp) { dp = dumb_load_it_quick(fn); if(!dp) { dp = dumb_load_mod_quick(fn); if(!dp) { dp = dumb_load_s3m_quick(fn); if(!dp) { return NULL; } } } } return dp; }
DUH *DUMBEXPORT dumb_load_mod(const char *filename, int restrict_) { DUH *duh = dumb_load_mod_quick(filename, restrict_); dumb_it_do_initial_runthrough(duh); return duh; }