diff options
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/base/main.cpp b/base/main.cpp index e651456ace..3173f26783 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -53,7 +53,6 @@ #include "gui/message.h" #include "gui/error.h" -#include "sound/audiocd.h" #include "sound/mididrv.h" #include "backends/keymapper/keymapper.h" @@ -431,15 +430,6 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { GUI::displayErrorDialog(_("Could not find any engine capable of running the selected game")); } - // We will destroy the AudioCDManager singleton here to save some memory. - // This will not make the CD audio stop, one would have to enable this: - //AudioCD.stop(); - // but the engine is responsible for stopping CD playback anyway and - // this way we catch engines not doing it properly. For some more - // information about why AudioCDManager::destroy does not stop the CD - // playback read the FIXME in sound/audiocd.h - Audio::AudioCDManager::destroy(); - // reset the graphics to default setupGraphics(system); launcherDialog(); |