BACKENDS: Unify AudioCD manager instantiation

This commit is contained in:
Max Horn 2011-06-06 15:02:33 +02:00
parent 338a859591
commit afb06b51cc
18 changed files with 84 additions and 67 deletions

View file

@ -78,7 +78,6 @@ void OSystem_NULL::initBackend() {
_eventManager = new DefaultEventManager(this);
_savefileManager = new DefaultSaveFileManager();
_graphicsManager = new NullGraphicsManager();
_audiocdManager = new DefaultAudioCDManager();
_mixer = new Audio::MixerImpl(this, 22050);
((Audio::MixerImpl *)_mixer)->setReady(false);
@ -87,7 +86,7 @@ void OSystem_NULL::initBackend() {
// this way; they need to be hooked into the system somehow to
// be functional. Of course, can't do that in a NULL backend :).
OSystem::initBackend();
BaseBackend::initBackend();
}
bool OSystem_NULL::pollEvent(Common::Event &event) {