mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 18:27:26 +00:00
fix OSX COMI cd changing hack
svn-id: r12583
This commit is contained in:
parent
7bd31d615c
commit
6c8111bac9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user