aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9
diff options
context:
space:
mode:
authorMax Horn2011-06-06 15:02:33 +0200
committerMax Horn2011-06-06 15:02:33 +0200
commitafb06b51cceb96cf3ac2baae1f562c673114d108 (patch)
tree6bf1c1768ab3de4034d1ddc44f32dce6259126bc /backends/platform/ds/arm9
parent338a859591c676eab46b1fc3523bc85bce8c15e2 (diff)
downloadscummvm-rg350-afb06b51cceb96cf3ac2baae1f562c673114d108.tar.gz
scummvm-rg350-afb06b51cceb96cf3ac2baae1f562c673114d108.tar.bz2
scummvm-rg350-afb06b51cceb96cf3ac2baae1f562c673114d108.zip
BACKENDS: Unify AudioCD manager instantiation
Diffstat (limited to 'backends/platform/ds/arm9')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp
index db274b723f..e65402c604 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.cpp
+++ b/backends/platform/ds/arm9/source/osystem_ds.cpp
@@ -41,6 +41,8 @@
#include "touchkeyboard.h"
#include "backends/fs/ds/ds-fs-factory.h"
+#include "backends/audiocd/default/default-audiocd.h"
+
#ifdef ENABLE_AGI
#include "wordcompletion.h"
#endif
@@ -118,7 +120,12 @@ void OSystem_DS::initBackend() {
_mixer = new Audio::MixerImpl(this, DS::getSoundFrequency());
_mixer->setReady(true);
- OSystem::initBackend();
+ /* TODO/FIXME: The NDS should use a custom AudioCD manager instance!
+ if (!_audiocdManager)
+ _audiocdManager = new DSAudioCDManager();
+ */
+
+ BaseBackend::initBackend();
}
bool OSystem_DS::hasFeature(Feature f) {