aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/sound.h1
-rw-r--r--engines/toltecs/toltecs.cpp3
-rw-r--r--engines/toltecs/toltecs.h1
3 files changed, 2 insertions, 3 deletions
diff --git a/engines/toltecs/sound.h b/engines/toltecs/sound.h
index 244fcc300d..f560168bb3 100644
--- a/engines/toltecs/sound.h
+++ b/engines/toltecs/sound.h
@@ -37,7 +37,6 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
-#include "sound/audiocd.h"
#include "sound/decoders/voc.h"
#include "engines/engine.h"
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index 9a0f6694b2..ae5e17cae4 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -39,6 +39,7 @@
#include "engines/util.h"
#include "sound/mixer.h"
+#include "backends/audiocd/audiocd.h"
#include "toltecs/toltecs.h"
#include "toltecs/animation.h"
@@ -74,7 +75,7 @@ ToltecsEngine::ToltecsEngine(OSystem *syst, const ToltecsGameDescription *gameDe
int cd_num = ConfMan.getInt("cdrom");
if (cd_num >= 0)
- _system->openCD(cd_num);
+ _system->getAudioCDManager()->openCD(cd_num);
}
diff --git a/engines/toltecs/toltecs.h b/engines/toltecs/toltecs.h
index 5d0f39be6a..e77a1bb52c 100644
--- a/engines/toltecs/toltecs.h
+++ b/engines/toltecs/toltecs.h
@@ -38,7 +38,6 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/decoders/voc.h"
-#include "sound/audiocd.h"
#include "engines/engine.h"