diff options
Diffstat (limited to 'engines/sky')
-rw-r--r-- | engines/sky/music/adlibmusic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/music/adlibmusic.cpp b/engines/sky/music/adlibmusic.cpp index 2b73cb1411..e410b3fb7b 100644 --- a/engines/sky/music/adlibmusic.cpp +++ b/engines/sky/music/adlibmusic.cpp @@ -36,7 +36,7 @@ AdLibMusic::AdLibMusic(Audio::Mixer *pMixer, Disk *pDisk) : MusicBase(pMixer, pD _sampleRate = pMixer->getOutputRate(); _opl = OPL::Config::create(); - if (!_opl || !_opl->init(_sampleRate)) + if (!_opl || !_opl->init()) error("Failed to create OPL"); _mixer->playStream(Audio::Mixer::kMusicSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true); |