aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-10-14 11:04:15 +0000
committerMax Horn2005-10-14 11:04:15 +0000
commit17e889020040fb78e072ebb24bd38603ad6122d8 (patch)
tree5f36f68904ca2a84ab63df1cb3ca2c42bca5feac
parentd326166fe0b4662ef44072629b748eeb4edff836 (diff)
downloadscummvm-rg350-17e889020040fb78e072ebb24bd38603ad6122d8.tar.gz
scummvm-rg350-17e889020040fb78e072ebb24bd38603ad6122d8.tar.bz2
scummvm-rg350-17e889020040fb78e072ebb24bd38603ad6122d8.zip
Removed very old GP32 hack (any new port would have to revise this code anyway); disabled some more V7/V8 code conditionally
svn-id: r19079
-rw-r--r--scumm/scumm.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 3a008e86cb..8533e8ee5f 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -884,6 +884,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
File::addDefaultDirectory(_gameDataPath + "Rooms 3/");
}
+#ifndef DISABLE_SCUMM_7_8
#ifdef MACOSX
if (_version == 8 && !memcmp(_gameDataPath.c_str(), "/Volumes/MONKEY3_", 17)) {
// Special case for COMI on Mac OS X. The mount points on OS X depend
@@ -913,6 +914,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
File::addDefaultDirectory(_gameDataPath + "DATA/");
File::addDefaultDirectory(_gameDataPath + "data/");
}
+#endif
// We read data directly from NES ROM instead of extracting it with
// external tool
@@ -2055,16 +2057,15 @@ void ScummEngine::setupMusic(int midi) {
else
_enable_gs = ConfMan.getBool("enable_gs");
-#ifndef __GP32__ //ph0x FIXME, "quick dirty hack"
/* Bind the mixer to the system => mixer will be invoked
* automatically when samples need to be generated */
if (!_mixer->isReady()) {
- printf("Sound mixer initialization failed\n");
+ warning("Sound mixer initialization failed\n");
if (_midiDriver == MD_ADLIB ||
_midiDriver == MD_PCSPK ||
_midiDriver == MD_PCJR) {
_midiDriver = MD_NULL;
- printf("MIDI driver depends on sound mixer, switching to null MIDI driver\n");
+ warning("MIDI driver depends on sound mixer, switching to null MIDI driver\n");
}
}
@@ -2118,8 +2119,6 @@ void ScummEngine::setupMusic(int midi) {
}
setupVolumes();
-
-#endif // ph0x-hack
}
void ScummEngine::setupVolumes() {