- Added Oktalyzer loading support to ZDoom.

SVN r4081 (trunk)
This commit is contained in:
Randy Heit 2013-02-08 00:25:30 +00:00
parent d1ada02edb
commit 612d16e11c

View file

@ -986,6 +986,15 @@ MusInfo *MOD_OpenSong(FILE *file, BYTE *musiccache, int size)
duh = dumb_read_asy_quick(f);
}
}
else if (size >= 8 &&
dstart[0] == MAKE_ID('O','K','T','A') &&
dstart[1] == MAKE_ID('S','O','N','G'))
{
if ((f = dumb_read_allfile(&filestate, start, file, musiccache, headsize, size)))
{
duh = dumb_read_okt_quick(f);
}
}
if ( ! duh )
{