aboutsummaryrefslogtreecommitdiff
path: root/scummvm.cpp
diff options
context:
space:
mode:
authorLionel Ulmer2002-05-07 22:07:28 +0000
committerLionel Ulmer2002-05-07 22:07:28 +0000
commitdd3129b882a133d3b4702d96cd084abb20b8b9bf (patch)
treea7b836c7ccd8e9bcb9e27321fc78be78394bd6f7 /scummvm.cpp
parentda3ada18152e2a184d9dcd0dec57d65ac60fbccb (diff)
downloadscummvm-rg350-dd3129b882a133d3b4702d96cd084abb20b8b9bf.tar.gz
scummvm-rg350-dd3129b882a133d3b4702d96cd084abb20b8b9bf.tar.bz2
scummvm-rg350-dd3129b882a133d3b4702d96cd084abb20b8b9bf.zip
First commit of the OPL2 MIDI driver (to have MIDI music without
requiring any OS-level MIDI support). This was taken from AdPlug. This is *very* buggy for now (well, it works, but it sounds just plain ugly :-) ). svn-id: r4232
Diffstat (limited to 'scummvm.cpp')
-rw-r--r--scummvm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index 9417a7dbaa..c146ca2cbd 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -1398,6 +1398,9 @@ Scumm *Scumm::createFromDetector(GameDetector *detector, OSystem *syst)
}
scumm->_mixer->set_volume(128);
+ /* HACK !!! */
+ g_scumm = scumm;
+ /* END HACK */
scumm->_fullScreen = detector->_fullScreen;
scumm->_debugMode = detector->_debugMode;