diff options
author | Max Horn | 2004-01-24 18:20:21 +0000 |
---|---|---|
committer | Max Horn | 2004-01-24 18:20:21 +0000 |
commit | 6c8111bac92db1193489642d4ddbc04b52aafa5e (patch) | |
tree | d79397aa7d00961f082651ee86f61817c989ace3 /scumm | |
parent | 7bd31d615c0ee1509ca95401e5656449050aca42 (diff) | |
download | scummvm-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.cpp | 2 |
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) |