aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2004-01-24 18:20:21 +0000
committerMax Horn2004-01-24 18:20:21 +0000
commit6c8111bac92db1193489642d4ddbc04b52aafa5e (patch)
treed79397aa7d00961f082651ee86f61817c989ace3 /scumm
parent7bd31d615c0ee1509ca95401e5656449050aca42 (diff)
downloadscummvm-rg350-6c8111bac92db1193489642d4ddbc04b52aafa5e.tar.gz
scummvm-rg350-6c8111bac92db1193489642d4ddbc04b52aafa5e.tar.bz2
scummvm-rg350-6c8111bac92db1193489642d4ddbc04b52aafa5e.zip
fix OSX COMI cd changing hack
svn-id: r12583
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 0f20b2c40a..648e68c8f8 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -2721,7 +2721,7 @@ byte *ScummEngine::get2byteCharPtr(int idx) {
const char *ScummEngine::getGameDataPath() const {
#ifdef MACOSX
- if (_version == 8 && _gameDataPath == "/Volumes/MONKEY3_") {
+ 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
// on the volume name. Hence if playing from CD, we'd get a problem.
// So if loading of a resource file fails, we fall back to the (fixed)