DIRECTOR: Fix dumping Mac resources

This commit is contained in:
Eugene Sandulenko 2022-07-05 14:11:36 +02:00
parent d2bb22becd
commit acac0a5f27
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -307,6 +307,8 @@ void MacArchive::readTags() {
res.offset = res.size = 0; // unused
res.name = _resFork->getResName(tagArray[i], idArray[j]);
res.tag = tagArray[i];
res.index = idArray[j];
debug(3, "Found MacArchive resource '%s' %d: %s", tag2str(tagArray[i]), idArray[j], res.name.c_str());
if (ConfMan.getBool("dump_scripts"))
dumpChunk(res, out);