aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2010-05-27 03:15:24 +0000
committerMatthew Hoops2010-05-27 03:15:24 +0000
commit99fc5cbfca3403b07ab023c857b7b997cc9389b4 (patch)
treee956a1bc86172030b7acdfc469dfe4d123d501fc /engines
parent7f678907d7067d3747d69e4564f64e6c1d5adc24 (diff)
downloadscummvm-rg350-99fc5cbfca3403b07ab023c857b7b997cc9389b4.tar.gz
scummvm-rg350-99fc5cbfca3403b07ab023c857b7b997cc9389b4.tar.bz2
scummvm-rg350-99fc5cbfca3403b07ab023c857b7b997cc9389b4.zip
Add the Mac sync resource type and allow for more than 9 Mac SCI1.1+ data files.
svn-id: r49255
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 3535e36f77..4bffdd3068 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -574,7 +574,7 @@ int ResourceManager::addAppropriateSources() {
#endif
} else if (Common::File::exists("Data1")) {
// Mac SCI1.1+ file naming scheme
- SearchMan.listMatchingMembers(files, "Data?");
+ SearchMan.listMatchingMembers(files, "Data?*");
for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) {
Common::String filename = (*x)->getName();
@@ -1478,7 +1478,8 @@ struct {
{ MKID_BE('HEP '), kResourceTypeHeap },
{ MKID_BE('IBIN'), kResourceTypeMacIconBarPictN },
{ MKID_BE('IBIS'), kResourceTypeMacIconBarPictS },
- { MKID_BE('PICT'), kResourceTypeMacPict }
+ { MKID_BE('PICT'), kResourceTypeMacPict },
+ { MKID_BE('SYN '), kResourceTypeSync }
};
static uint32 resTypeToMacTag(ResourceType type) {