MikMod now loops modules correctly, from Nic

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@429 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-17 16:11:45 +00:00
parent b809ea1b7c
commit 54377dbce1
@@ -171,7 +171,7 @@ TFB_SoundDecoder* SoundDecoder_Load (char *filename, ALuint buffer_size)
mod->extspd = 1; mod->extspd = 1;
mod->panflag = 1; mod->panflag = 1;
mod->wrap = 0; mod->wrap = 0;
mod->loop = 0; mod->loop = 1;
decoder = (TFB_SoundDecoder *) HMalloc (sizeof (TFB_SoundDecoder)); decoder = (TFB_SoundDecoder *) HMalloc (sizeof (TFB_SoundDecoder));
decoder->buffer = HMalloc (buffer_size); decoder->buffer = HMalloc (buffer_size);