shithub: dumb

ref: d6dd2ace1ceecb606beaae3dbbeffa5fc9a09854
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;
}