GROOVIE: Described unknown filed in resource database

This commit is contained in:
Christian Lindemann 2018-10-05 23:00:39 +02:00 committed by Filippos Karapetis
parent 0c919bc38b
commit 76c71278fb
2 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,7 @@ bool ResMan_v2::getResInfo(uint32 fileRef, ResInfo &resInfo) {
} }
// Read the resource information // Read the resource information
rlFile.readUint32LE(); // Unknown resInfo.disks = rlFile.readUint32LE(); // Seems to be a bitfield indicating on which disk(s) the file can be found
resInfo.offset = rlFile.readUint32LE(); resInfo.offset = rlFile.readUint32LE();
resInfo.size = rlFile.readUint32LE(); resInfo.size = rlFile.readUint32LE();
resInfo.gjd = rlFile.readUint16LE(); resInfo.gjd = rlFile.readUint16LE();

View File

@ -30,6 +30,7 @@ class MacResManager;
namespace Groovie { namespace Groovie {
struct ResInfo { struct ResInfo {
uint32 disks; // This seems to be a bitfield indicating on which disk(s) the file is located.
uint16 gjd; uint16 gjd;
uint32 offset; uint32 offset;
uint32 size; uint32 size;