From 3187b565dd60896c55b3f7e04e3d0b872b4c7a3a Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 5 Sep 2003 07:36:05 +0000 Subject: Add atarist and macintosh options, since there seem to be no way to detect version been used. svn-id: r9999 --- scumm/resource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/resource.cpp') diff --git a/scumm/resource.cpp b/scumm/resource.cpp index c07288924b..a979bfa4d5 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1487,8 +1487,8 @@ int Scumm::readSoundResourceSmallHeader(int type, int idx) { wa_size = _fileHandle.readUint16LE(); _fileHandle.seek(wa_size - 2, SEEK_CUR); - //FIXME AD resources don't exist in Atari ST and Mac versions - if (_midiDriver == MD_ADLIB) { + if (!(_features & GF_ATARI_ST || _features & GF_MACINTOSH)) { + warning("Loader"); ad_offs = _fileHandle.pos(); ad_size = _fileHandle.readUint16LE(); } -- cgit v1.2.3