mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-18 21:21:36 +00:00
- Added Oktalyzer loading support to ZDoom.
SVN r4081 (trunk)
This commit is contained in:
parent
d1ada02edb
commit
612d16e11c
1 changed files with 9 additions and 0 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue