shithub: dumb

ref: fbd0eed489f59a6fbca4eee56eef7e3f8ad52e29
dir: /src/it/readmod2.c/

View raw version
/*  _______         ____    __         ___    ___
 * \    _  \       \    /  \  /       \   \  /   /       '   '  '
 *  |  | \  \       |  |    ||         |   \/   |         .      .
 *  |  |  |  |      |  |    ||         ||\  /|  |
 *  |  |  |  |      |  |    ||         || \/ |  |         '  '  '
 *  |  |  |  |      |  |    ||         ||    |  |         .      .
 *  |  |_/  /        \  \__//          ||    |  |
 * /_______/ynamic    \____/niversal  /__\  /____\usic   /|  .  . ibliotheque
 *                                                      /  \
 *                                                     / .  \
 * readmod2.c - Function to read a good old-          / / \  \
 *              fashioned Amiga module from an       | <  /   \_
 *              open file and do an initial          |  \/ /\   /
 *              run-through.                          \_  /  > /
 *                                                      | \ / /
 * Split off from readmod.c by entheh.                  |  ' /
 *                                                       \__/
 */

#include "dumb.h"

DUH *dumb_read_mod(DUMBFILE *f, int restrict_) {
    DUH *duh = dumb_read_mod_quick(f, restrict_);
    dumb_it_do_initial_runthrough(duh);
    return duh;
}