- moved the sound decoding code to the zmusic project.

Since this gets used by both the sound backend and the music code it needs to be in a place accessible to both.
This commit is contained in:
Christoph Oelckers 2019-09-29 12:48:12 +02:00
commit cdf2a17c5a
35 changed files with 544 additions and 426 deletions

View file

@ -56,7 +56,7 @@ unsigned char *_WM_BufferFile(MusicIO::SoundFontReaderInterface *reader, const c
return NULL;
}
auto fsize = (fp->seek(0, SEEK_END), fp->tell());
auto fsize = fp->filelength();
if (fsize > WM_MAXFILESIZE)
{