aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/mads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/mads.cpp')
-rw-r--r--engines/mads/mads.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp
index d56994ab8e..52a0b40561 100644
--- a/engines/mads/mads.cpp
+++ b/engines/mads/mads.cpp
@@ -55,7 +55,6 @@ MADSEngine::MADSEngine(OSystem *syst, const MADSGameDescription *gameDesc) :
_resources = nullptr;
_sound = nullptr;
_audio = nullptr;
- _opl = nullptr;
}
MADSEngine::~MADSEngine() {
@@ -71,7 +70,6 @@ MADSEngine::~MADSEngine() {
delete _audio;
_mixer->stopAll();
- delete _opl;
}
void MADSEngine::initialize() {
@@ -80,9 +78,6 @@ void MADSEngine::initialize() {
DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts");
DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling");
- _opl = OPL::Config::create();
- _opl->init(11025);
-
// Initial sub-system engine references
MSurface::setVm(this);
MSprite::setVm(this);
@@ -96,7 +91,7 @@ void MADSEngine::initialize() {
Font::init(this);
_font = new Font();
_screen.init();
- _sound = new SoundManager(this, _mixer, _opl);
+ _sound = new SoundManager(this, _mixer);
_audio = new AudioPlayer(_mixer, getGameID());
_game = Game::init(this);