aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/compression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/compression.cpp')
-rw-r--r--engines/mads/compression.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/compression.cpp b/engines/mads/compression.cpp
index 2284f17321..5f78357378 100644
--- a/engines/mads/compression.cpp
+++ b/engines/mads/compression.cpp
@@ -42,16 +42,16 @@ bool MadsPack::isCompressed(Common::SeekableReadStream *stream) {
}
MadsPack::MadsPack(Common::SeekableReadStream *stream) {
- initialise(stream);
+ initialize(stream);
}
MadsPack::MadsPack(const Common::String &resourceName, MADSEngine *vm) {
File file(resourceName);
- initialise(&file);
+ initialize(&file);
file.close();
}
-void MadsPack::initialise(Common::SeekableReadStream *stream) {
+void MadsPack::initialize(Common::SeekableReadStream *stream) {
if (!MadsPack::isCompressed(stream))
error("Attempted to decompress a resource that was not MadsPacked");
@@ -124,7 +124,7 @@ void FabDecompressor::decompress(const byte *srcData, int srcSize, byte *destDat
copyOfs = 0xFFFF0000;
destP = destData;
- // Initialise data fields
+ // Initialize data fields
_srcData = srcData;
_srcP = _srcData + 6;
_srcSize = srcSize;