aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/init_v1.cpp')
-rw-r--r--engines/gob/init_v1.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/gob/init_v1.cpp b/engines/gob/init_v1.cpp
index 73a09dd34b..c6c7481e22 100644
--- a/engines/gob/init_v1.cpp
+++ b/engines/gob/init_v1.cpp
@@ -41,20 +41,13 @@ void Init_v1::soundVideo(int32 smallHeap, int16 flag) {
error("soundVideo: Video mode 0x%x is not supported!",
_vm->_global->_videoMode);
- //if ((flag & 4) == 0)
- // _vm->_video->findVideo();
-
_vm->_global->_mousePresent = 1;
_vm->_global->_inVM = 0;
- _vm->_global->_presentSound = 0; // FIXME: sound is not supported yet
-
_vm->_global->_sprAllocated = 0;
_vm->_gtimer->enableTimer();
- // _vm->_snd->setResetTimerFlag(debugFlag); // TODO
-
if (_vm->_global->_videoMode == 0x13)
_vm->_global->_colorCount = 256;
@@ -66,14 +59,6 @@ void Init_v1::soundVideo(int32 smallHeap, int16 flag) {
if (_vm->_global->_videoMode != 0)
_vm->_video->initSurfDesc(_vm->_global->_videoMode, 320, 200, PRIMARY_SURFACE);
-
- if (_vm->_global->_soundFlags & MIDI_FLAG) {
- _vm->_global->_soundFlags &= _vm->_global->_presentSound;
- if (_vm->_global->_presentSound & ADLIB_FLAG)
- _vm->_global->_soundFlags |= MIDI_FLAG;
- } else {
- _vm->_global->_soundFlags &= _vm->_global->_presentSound;
- }
}
} // End of namespace Gob