aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.cpp2
-rw-r--r--engines/agos/event.cpp4
-rw-r--r--engines/agos/res_snd.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index efb9ae46da..6502866e8d 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -900,7 +900,7 @@ AGOSEngine::~AGOSEngine() {
_midi.close();
delete _driver;
- _system->getAudioCD()->stop();
+ _system->getAudioCDManager()->stop();
for (uint i = 0; i < _itemHeap.size(); i++) {
delete[] _itemHeap[i];
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index 7287ff07d2..3bbc0624aa 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -427,7 +427,7 @@ void AGOSEngine::delay(uint amount) {
uint32 cur = start;
uint this_delay, vgaPeriod;
- _system->getAudioCD()->updateCD();
+ _system->getAudioCDManager()->updateCD();
if (_debugger->isAttached())
_debugger->onFrame();
@@ -533,7 +533,7 @@ void AGOSEngine::delay(uint amount) {
if (_leftButton == 1)
_leftButtonCount++;
- _system->getAudioCD()->updateCD();
+ _system->getAudioCDManager()->updateCD();
_system->updateScreen();
diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp
index 11f675289b..c6417962fb 100644
--- a/engines/agos/res_snd.cpp
+++ b/engines/agos/res_snd.cpp
@@ -227,9 +227,9 @@ void AGOSEngine_Simon1::playMusic(uint16 music, uint16 track) {
stopMusic();
// Support for compressed music from the ScummVM Music Enhancement Project
- _system->getAudioCD()->stop();
- _system->getAudioCD()->play(music + 1, -1, 0, 0);
- if (_system->getAudioCD()->isPlaying())
+ _system->getAudioCDManager()->stop();
+ _system->getAudioCDManager()->play(music + 1, -1, 0, 0);
+ if (_system->getAudioCDManager()->isPlaying())
return;
if (getPlatform() == Common::kPlatformAmiga) {