diff options
-rw-r--r-- | scumm/imuse.cpp | 2 | ||||
-rw-r--r-- | scumm/scummvm.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 8759725391..238d214909 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -3679,7 +3679,7 @@ void IMuseAdlib::adlib_setup_channel(int chan, Instrument * instr, byte vol_1, b port = channel_mappings[chan]; adlib_write(port + 0x20, instr->flags_1); - if ((g_scumm->_gameId != GID_MONKEY_VGA) || (instr->feedback & 1)) + if (!(g_scumm->_features & GF_SMALL_HEADER) || (instr->feedback & 1)) adlib_write(port + 0x40, (instr->oplvl_1 | 0x3F) - vol_1 ); else adlib_write(port + 0x40, instr->oplvl_1); diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index c406520c09..2f73d9e2ab 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1,6 +1,6 @@ /* ScummVM - Scumm Interpreter * Copyright (C) 2001 Ludvig Strigeus - * Copyright (C) 2001/2002 The ScummVM project + * wCopyright (C) 2001/2002 The ScummVM project * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -81,7 +81,7 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst) _debugMode = detector->_debugMode; _bootParam = detector->_bootParam; - _exe_name = detector->_gameFileName.c_str(); + _exe_name = (char*)detector->_gameFileName.c_str(); _gameId = detector->_gameId; _gameText = detector->_gameText; _features = detector->_features; |