aboutsummaryrefslogtreecommitdiff
path: root/common/file.h
diff options
context:
space:
mode:
authorJonathan Gray2003-10-16 10:23:01 +0000
committerJonathan Gray2003-10-16 10:23:01 +0000
commitdb716d5fb13f1524d9aa437dc0d7498e9e7aa083 (patch)
tree64e14d1fbbe1802b44e277d214211b0ac619b10c /common/file.h
parentbc072912b625ba2c59cdffd8af8e46f7a104f464 (diff)
downloadscummvm-rg350-db716d5fb13f1524d9aa437dc0d7498e9e7aa083.tar.gz
scummvm-rg350-db716d5fb13f1524d9aa437dc0d7498e9e7aa083.tar.bz2
scummvm-rg350-db716d5fb13f1524d9aa437dc0d7498e9e7aa083.zip
add method to set the xor byte in the file class. Needed as the combined mac data files are only xor'd in the resource files, not the parts of the combined file
svn-id: r10825
Diffstat (limited to 'common/file.h')
-rw-r--r--common/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/file.h b/common/file.h
index b043608d22..ff6e18f183 100644
--- a/common/file.h
+++ b/common/file.h
@@ -71,6 +71,7 @@ public:
void writeUint32LE(uint32 value);
void writeUint16BE(uint16 value);
void writeUint32BE(uint32 value);
+ void setEnc(byte value) { _encbyte = value; }
};
#endif