aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-08 23:41:27 +0000
committerMax Horn2003-01-08 23:41:27 +0000
commit531e73418f6122be327123f168b837ad7eddddab (patch)
treef04ecd2373838791d60baf462472b9591378ec35 /scumm/resource.cpp
parentecb9c2dd74f28a38203df5b57101cbfd6b69851c (diff)
downloadscummvm-rg350-531e73418f6122be327123f168b837ad7eddddab.tar.gz
scummvm-rg350-531e73418f6122be327123f168b837ad7eddddab.tar.bz2
scummvm-rg350-531e73418f6122be327123f168b837ad7eddddab.zip
our File class already makes sure we find stuff in the resource subdirectory. Plus, it handles different cases right. So now COMI works from CD on Mac OS X, too
svn-id: r6363
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 0d7d719848..3720763621 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -195,7 +195,7 @@ bool Scumm::openResourceFile(const char *filename)
}
strcpy(buf, filename);
- _fileHandle.open(buf, getResDataPath(), 1, _encbyte);
+ _fileHandle.open(buf, getGameDataPath(), 1, _encbyte);
return _fileHandle.isOpen();
}
@@ -207,7 +207,7 @@ void Scumm::askForDisk(const char *filename, int disknum)
if (_features & GF_AFTER_V8) {
char result;
- sprintf(buf, "Cannot find file: '%s'\nInsert disk %d into drive %s\nHit Ok to retry, Cancel to exit", filename, disknum, getResDataPath());
+ sprintf(buf, "Cannot find file: '%s'\nInsert disk %d into drive %s\nHit Ok to retry, Cancel to exit", filename, disknum, getGameDataPath());
result = displayError(true, buf);
if (result == 2)