From 612d16e11c84be89e4925e5475f462e2ccec13ec Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 8 Feb 2013 00:25:30 +0000 Subject: [PATCH] - Added Oktalyzer loading support to ZDoom. SVN r4081 (trunk) --- src/sound/music_dumb.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/sound/music_dumb.cpp b/src/sound/music_dumb.cpp index d0423e256..8405228a3 100644 --- a/src/sound/music_dumb.cpp +++ b/src/sound/music_dumb.cpp @@ -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 ) {