aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 82302b3616..90ca277a9e 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -614,14 +614,10 @@ int GobEngine::init() {
else
error("GobEngine::init(): Unknown version of game engine");
_noMusic = MidiDriver::parseMusicDriver(ConfMan.get("music_driver")) == MD_NULL;
- if (!(_features & Gob::GF_AMIGA) &&
- (((_features & Gob::GF_MAC) && (_features & Gob::GF_GOB1)) ||
- (_features & Gob::GF_GOB2))) {
- if (_noMusic)
- _adlib = new Adlib_Dummy(this);
- else
- _adlib = new Adlib(this);
- }
+ if (!_noMusic && !(_features & Gob::GF_AMIGA) &&
+ (((_features & Gob::GF_MAC) && (_features & Gob::GF_GOB1)) ||
+ (_features & Gob::GF_GOB2)))
+ _adlib = new Adlib(this);
_vm = this;
_system->beginGFXTransaction();
@@ -642,7 +638,7 @@ int GobEngine::init() {
_global->_videoMode = 0x13;
_global->_useMouse = 1;
- _global->_soundFlags = 0;
+ _global->_soundFlags = MIDI_FLAG | SPEAKER_FLAG | BLASTER_FLAG | ADLIB_FLAG;
if (ConfMan.hasKey("language"))
_language = Common::parseLanguage(ConfMan.get("language"));
@@ -687,7 +683,6 @@ int GobEngine::init() {
// 640x480.
g_system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, true);
-
return 0;
}