diff options
author | Max Horn | 2011-06-06 15:02:33 +0200 |
---|---|---|
committer | Max Horn | 2011-06-06 15:02:33 +0200 |
commit | afb06b51cceb96cf3ac2baae1f562c673114d108 (patch) | |
tree | 6bf1c1768ab3de4034d1ddc44f32dce6259126bc /backends/base-backend.cpp | |
parent | 338a859591c676eab46b1fc3523bc85bce8c15e2 (diff) | |
download | scummvm-rg350-afb06b51cceb96cf3ac2baae1f562c673114d108.tar.gz scummvm-rg350-afb06b51cceb96cf3ac2baae1f562c673114d108.tar.bz2 scummvm-rg350-afb06b51cceb96cf3ac2baae1f562c673114d108.zip |
BACKENDS: Unify AudioCD manager instantiation
Diffstat (limited to 'backends/base-backend.cpp')
-rw-r--r-- | backends/base-backend.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/backends/base-backend.cpp b/backends/base-backend.cpp index 40e702495a..ca46129aa6 100644 --- a/backends/base-backend.cpp +++ b/backends/base-backend.cpp @@ -25,7 +25,6 @@ #include "backends/base-backend.h" #include "backends/events/default/default-events.h" -#include "backends/audiocd/default/default-audiocd.h" #include "gui/message.h" void BaseBackend::displayMessageOnOSD(const char *msg) { @@ -69,11 +68,9 @@ void BaseBackend::fillScreen(uint32 col) { #endif BaseBackend::BaseBackend() { - _audiocdManager = 0; } BaseBackend::~BaseBackend() { - delete _audiocdManager; } Common::SeekableReadStream *BaseBackend::createConfigReadStream() { @@ -90,11 +87,5 @@ Common::WriteStream *BaseBackend::createConfigWriteStream() { #endif } -AudioCDManager *BaseBackend::getAudioCDManager() { - if (!_audiocdManager) - _audiocdManager = new DefaultAudioCDManager(); - return _audiocdManager; -} - void BaseBackend::resetGraphicsScale() { } |