aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/disk.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-06-16 02:43:31 +0000
committerTravis Howell2007-06-16 02:43:31 +0000
commit4362692684bf5d937b3fbffb6081acd2ee52e914 (patch)
tree3952e3b652d624df42d7de8bede12fed1ca1fbaf /engines/parallaction/disk.cpp
parentce8a015c1cd1f4521a3c748a190bd9ea0e28fb75 (diff)
downloadscummvm-rg350-4362692684bf5d937b3fbffb6081acd2ee52e914.tar.gz
scummvm-rg350-4362692684bf5d937b3fbffb6081acd2ee52e914.tar.bz2
scummvm-rg350-4362692684bf5d937b3fbffb6081acd2ee52e914.zip
Add GF_LANG_MULT game flag, for detecting differences between the two Amiga versions.
svn-id: r27441
Diffstat (limited to 'engines/parallaction/disk.cpp')
-rw-r--r--engines/parallaction/disk.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/engines/parallaction/disk.cpp b/engines/parallaction/disk.cpp
index b44485455f..93a5840fb5 100644
--- a/engines/parallaction/disk.cpp
+++ b/engines/parallaction/disk.cpp
@@ -1150,11 +1150,19 @@ Font* AmigaFullDisk::loadFont(const char* name) {
char path[PATH_LEN];
sprintf(path, "%sfont", name);
- Common::File stream;
- if (!stream.open(path))
- errorFileNotFound(path);
+ if (_vm->getFeatures() & GF_LANG_MULT) {
+ if (!_resArchive.openArchivedFile(path))
+ errorFileNotFound(path);
- return createFont(name, stream);
+ return createFont(name, _resArchive);
+ } else {
+ // Italian version has separate font files?
+ Common::File stream;
+ if (!stream.open(path))
+ errorFileNotFound(path);
+
+ return createFont(name, stream);
+ }
}