diff options
Diffstat (limited to 'apps/codecs/dumb/src/it/loadmod.c')
| -rw-r--r-- | apps/codecs/dumb/src/it/loadmod.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/apps/codecs/dumb/src/it/loadmod.c b/apps/codecs/dumb/src/it/loadmod.c deleted file mode 100644 index f7bbcb5..0000000 --- a/apps/codecs/dumb/src/it/loadmod.c +++ /dev/null @@ -1,42 +0,0 @@ -/* _______ ____ __ ___ ___ - * \ _ \ \ / \ / \ \ / / ' ' ' - * | | \ \ | | || | \/ | . . - * | | | | | | || ||\ /| | - * | | | | | | || || \/ | | ' ' ' - * | | | | | | || || | | . . - * | |_/ / \ \__// || | | - * /_______/ynamic \____/niversal /__\ /____\usic /| . . ibliotheque - * / \ - * / . \ - * loadmod.c - Code to read a good old-fashioned / / \ \ - * Amiga module file, opening and | < / \_ - * closing it for you. | \/ /\ / - * \_ / > / - * By entheh. | \ / / - * | ' / - * \__/ - */ - -#include "dumb.h" -#include "internal/it.h" - - - -/* dumb_load_mod(): loads a MOD file into a DUH struct, returning a pointer - * to the DUH struct. When you have finished with it, you must pass the - * pointer to unload_duh() so that the memory can be freed. - */ -DUH *dumb_load_mod(const char *filename) -{ - DUH *duh; - DUMBFILE *f = dumbfile_open(filename); - - if (!f) - return NULL; - - duh = dumb_read_mod(f); - - dumbfile_close(f); - - return duh; -} |